-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.eslintrc
38 lines (38 loc) · 821 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
{
"env": {
"node": true,
"es6": true,
"mocha": true
},
"extends": [
"eslint:recommended",
"plugin:import/errors"
],
"globals": {
"describe": true,
"it": true,
"before": true,
"beforeEach": true
},
"plugins": [
"import",
"node",
"chai-friendly"
],
"parser": "eslint-plugin-import/memo-parser",
"parserOptions": {
"ecmaVersion": 8,
"parser": "babel-eslint"
},
rules: {
"require-jsdoc": 'off',
"lines-around-comment": off,
"indent": ["error", 2, {"SwitchCase": 1} ],
"quotes": ["error", "single"],
"comma-dangle": ["error", "always-multiline"],
"no-underscore-dangle": ["error", { "allow": ["_id"] }],
"strict": ["error", "never"],
"no-unused-expressions": 0,
"chai-friendly/no-unused-expressions": 2
},
}