forked from simov/grant
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
44 lines (31 loc) · 1.06 KB
/
.eslintrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
{
extends: 'standard',
env: {
mocha: true
},
// Almost Standard
rules: {
// Disable: Closing curly brace does not appear on the same line as the subsequent block
'brace-style': [2, 'stroustrup'],
// Config: Enforce spacing around the * in generator functions
'generator-star-spacing': [2, {'before': false, 'after': true}],
// Disable: More than 1 blank line not allowed
'no-multiple-empty-lines': 'off',
// Disable: Disallow Redeclaring Variables
// (A bunch of vars inside `else if` blocks)
'no-redeclare': 0,
// Disable: Block must not be padded by blank lines
'padded-blocks': 'off',
// Disable: Enforce placing object properties on separate lines
'object-property-newline': 'off',
// Unit Tests
// Disable: Require Camelcase
'camelcase': 0,
// Disable: Enforce Callback Error Handling
'handle-callback-err': 0,
// Disable: Require or Disallow One Variable Declaration per Scope
'one-var': 0,
// Disable: Only used in one of the tests
'node/no-deprecated-api': 0
}
}