forked from join-monster/join-monster
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
69 lines (69 loc) · 1.22 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
module.exports = {
env: {
es6: true,
node: true
},
globals: {
idx: true
},
extends: 'airbnb-base/legacy',
parser: 'babel-eslint',
rules: {
indent: [
'error',
2
],
'no-extend-native': 0,
'func-names': 0,
'space-before-function-paren': [
'error',
'never'
],
'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 }
],
'array-bracket-spacing': [
'error',
'always'
],
'linebreak-style': [
'error',
'unix'
],
quotes: [
'error',
'single'
],
semi: [
'error',
'never'
],
'no-console': 0,
'no-case-declarations': 0,
'no-unused-vars': [
2,
{
argsIgnorePattern: '^__+$',
varsIgnorePattern: '^__+$',
}
],
}
}