-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.eslintrc.js
35 lines (35 loc) · 1019 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
23
24
25
26
27
28
29
30
31
32
33
34
35
module.exports = {
"extends": "airbnb-base",
"env": {
'node': true,
'mocha': true
},
'rules': {
'indent': ['error', 2],
'quotes': ['error', 'single'],
'semi': ['error', 'never'],
'camelcase': 'off',
'class-methods-use-this': 'off',
'import/no-extraneous-dependencies': 'off',
'import/no-unresolved': 'off',
'no-trailing-spaces': 'off',
'arrow-body-style': 'off',
'arrow-parens': 'off',
'padded-blocks': 'off',
'no-caller': 'off',
'no-underscore-dangle': 'off',
'no-unused-expressions': 'off',
'no-use-before-define': 'off',
'no-useless-escape': 'off',
'no-prototype-builtins': 'off',
'no-param-reassign': 'off',
'no-restricted-properties': 'off',
'no-console': 'off',
'max-len': 'off',
'linebreak-style': 0,
},
'parserOptions': {
'ecmaVersion': 2017,
'sourceType': 'module',
},
};