eslint-config-resultsdm
Version:
Results Driven Marketing's ESLint config, following our styleguide
15 lines (14 loc) • 467 B
JavaScript
module.exports = {
rules: {
// Specify the maximum depth that blocks can be nested
'max-depth': [0, 4],
// Limits the number of parameters that can be used in the function declaration.
'max-params': [0, 3],
// Specify the maximum number of statement allowed in a function
'max-statements': [0, 10],
// Disallow use of bitwise operators
'no-bitwise': 0,
// Disallow use of unary operators, ++ and --
'no-plusplus': 0,
},
};