thegameofcode/cipherlayer

View on GitHub
src/routes_internal/auth/user_post.js

Summary

Maintainability
A
1 hr
Test Coverage

Function postAuthUser has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

module.exports = function postAuthUser(req, res, next) {
    const user = {
        id: req.body.id,
        username: req.body.username,
        password: req.body.password
Severity: Minor
Found in src/routes_internal/auth/user_post.js - About 1 hr to fix

    Definition for rule 'extra-rules/no-for-loops' was not found
    Open

    'use strict';

    For more information visit Source: http://eslint.org/docs/rules/

    Definition for rule 'extra-rules/potential-point-free' was not found
    Open

    'use strict';

    For more information visit Source: http://eslint.org/docs/rules/

    There are no issues that match your filters.

    Category
    Status