-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
38 lines (36 loc) · 1.01 KB
/
.eslintrc.js
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
module.exports = {
extends: 'eslint:all',
parserOptions: {
sourceType: 'module',
ecmaVersion: 6,
},
env: {
node: true,
es6: true,
},
rules: {
'no-console': 'off',
'one-var': 'off',
'sort-imports': 'off',
'padded-blocks': 'off',
'no-magic-numbers': 'off',
'line-comment-position': 'off',
'no-inline-comments': 'off',
'max-len': 'off',
'guard-for-in': 'off',
'newline-before-return': 'off',
'sort-keys': 'off',
'object-property-newline': 'off',
'quote-props': 'off',
'no-ternary': 'off',
'max-statements': 'off',
'no-sync': 'off',
'brace-style': ['error', '1tbs', { allowSingleLine: true }],
'no-shadow': 'off',
'no-catch-shadow': 'off',
indent: ['error', 4],
quotes: ['error', 'single'],
'object-curly-spacing': ['error', 'always'],
'comma-dangle': ['error', 'always-multiline'],
},
};