-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
34 lines (33 loc) · 834 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
{
"parserOptions": {
"ecmaVersion": 2015
},
"env": {
"node": true
},
"extends": ["eslint:recommended", "plugin:prettier/recommended"],
"rules": {
"func-names": "off",
"no-param-reassign": "warn",
"no-restricted-syntax": "off",
"function-paren-newline": "off",
"global-require": "warn",
"no-continue": "off",
"no-labels": "off",
"no-label-var": "off",
"no-unused-vars": ["error", { "vars": "all", "args": "none" } ],
"no-void": "off",
"prettier/prettier": "error"
},
"overrides": [
{
"files": ["tests/**/*.js"],
"parserOptions": {
"ecmaVersion": 2018
},
"env": {
"mocha": true
}
}
],
}