UNPKG

552 BJavaScriptView Raw
1module.exports = {
2 'rules': {
3 // disallow trailing commas in object literals
4 'comma-dangle': [2, 'never'],
5 // specify the maximum depth that blocks can be nested
6 'max-depth': [0, 4],
7 // limits the number of parameters that can be used in the function declaration.
8 'max-params': [0, 3],
9 // specify the maximum number of statement allowed in a function
10 'max-statements': [0, 10],
11 // disallow use of bitwise operators
12 'no-bitwise': 0,
13 // disallow use of unary operators, ++ and --
14 'no-plusplus': 0
15 }
16};