-
Notifications
You must be signed in to change notification settings - Fork 2
/
.eslintrc
38 lines (38 loc) · 959 Bytes
/
.eslintrc
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
{
"extends": ["airbnb-base/legacy", "prettier"],
"env": {
"browser": true,
"commonjs": true,
"es6": true
},
"parser": "babel-eslint",
"parserOptions": {
"sourceType": "module",
"ecmaVersion": 2019,
"ecmaFeatures": {
"modules": true
}
},
"plugins": [],
"rules": {
"no-plusplus": ["error", { "allowForLoopAfterthoughts": true }],
"no-console": 0,
"no-underscore-dangle": 0,
"func-names": 0,
"no-process-exit": 0,
"consistent-return":0,
"no-unused-vars": ["warn", { "args": "none", "ignoreRestSiblings": false }],
"no-param-reassign":["error", { "props": true, "ignorePropertyModificationsFor": ["el"] }]
},
"ignorePatterns":["dist/*"],
"settings": {
"import/resolver": {
"node": {
"moduleDirectory": [
"node_modules",
"src"
]
}
}
}
}