eslint-config-nfl
Version:
NFL's ESLint config
17 lines (16 loc) • 593 B
JavaScript
module.exports = {
"rules": {
// disallow trailing commas in object literals
"comma-dangle": [2, "never"],
// specify the maximum depth that blocks can be nested
"max-depth": 0,
// limits the number of parameters that can be used in the function declaration.
"max-params": [1, 4],
// specify the maximum number of statement allowed in a function
"max-statements": 0,
// disallow use of bitwise operators
"no-bitwise": 1,
// disallow use of unary operators, ++ and --
"no-plusplus": 0
}
};