forked from join-monster/join-monster
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
43 lines (43 loc) · 979 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
36
37
38
39
40
41
42
43
module.exports = {
env: {
es6: true,
node: true,
},
globals: {
idx: true,
},
extends: ['airbnb-base/legacy', 'prettier'],
parser: '@babel/eslint-parser',
rules: {
'no-extend-native': 0,
'func-names': 0,
'guard-for-in': 0,
'no-restricted-syntax': 0,
'no-param-reassign': 0,
'no-multi-assign': 0,
'global-require': 0,
'vars-on-top': 0,
'block-scoped-var': 0,
'no-underscore-dangle': 0,
'no-use-before-define': 0,
'no-plusplus': 0,
'no-await-in-loop': 0,
'consistent-return': 0,
'default-case': 0,
'no-void': 0,
'function-paren-newline': 0,
'object-curly-newline': 0,
'max-len': ['warn', 125, { ignoreComments: true }],
'linebreak-style': ['error', 'unix'],
semi: ['error', 'never'],
'no-console': 0,
'no-case-declarations': 0,
'no-unused-vars': [
2,
{
argsIgnorePattern: '^__+$',
varsIgnorePattern: '^__+$',
},
],
},
}