-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.js
22 lines (22 loc) · 855 Bytes
/
.eslintrc.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
module.exports = {
'extends': 'airbnb-base',
'rules': {
'block-spacing': [ 2, 'always' ],
'space-before-function-paren': [ 2, { 'anonymous': 'always', 'named': 'never' } ],
'space-in-parens': [ 2, 'always', { 'exceptions': [ '{}', '[]', '()' ] } ],
'spaced-comment': [ 2, 'always', { 'exceptions': [ '-', '+' ] } ],
'arrow-spacing': [ 2, { 'before': true, 'after': true } ],
'array-bracket-spacing': [ 2, 'always' ],
'computed-property-spacing': [ 2, 'always' ],
'template-curly-spacing': [ 2, 'always' ],
'no-restricted-syntax': [ 'off' ],
'object-property-newline': [ 'off', { 'allowMultiplePropertiesPerLine': true } ],
'no-plusplus': [ 'error', { 'allowForLoopAfterthoughts': true } ],
'no-underscore-dangle': [ 'off' ],
},
'env': {
'browser': true,
'node': true,
'jest': true
}
}