-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.eslintrc.js
More file actions
29 lines (29 loc) · 800 Bytes
/
.eslintrc.js
File metadata and controls
29 lines (29 loc) · 800 Bytes
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
module.exports = {
extends: ["airbnb-base", "eslint:recommended", "prettier", "prettier/standard", "plugin:import/errors", "plugin:import/warnings", "prettier/standard"],
plugins: ["prettier", "mocha", "chai-friendly", "import"],
rules: {
"prettier/prettier": "error"
},
env: {
mocha: true
},
globals: {
should: false
},
rules: {
"comma-dangle": 0,
"no-console": 0,
"import/extensions": 0,
"import/no-unresolved": 2,
"import/named": 2,
"import/namespace": 2,
"import/default": 2,
"import/prefer-default-export": 0,
"import/export": 2,
"prefer-arrow-callback": 2,
"prefer-const": 2,
"indent": ["error", 4],
"eol-last": 2,
"quotes": ["error", "single"]
}
};