forked from usgs/wdfn-viz
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
41 lines (41 loc) · 1.05 KB
/
.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
39
40
41
{
"env": {
"commonjs": true,
"es6": true,
"jest/globals": true
},
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module"
},
"plugins": [
"jest"
],
"extends": ["eslint:recommended", "plugin:jest/recommended"],
"rules": {
"array-bracket-spacing": ["error", "never"],
"brace-style": ["error","1tbs", {}],
"comma-dangle": [2,"never"],
"curly": "error",
"linebreak-style": ["error", "unix"],
"no-console": "off",
"no-extra-parens": [2,"all"],
"no-use-before-define": 2,
"no-mixed-spaces-and-tabs": 2,
"object-curly-spacing": ["error", "never"],
"quotes": ["error", "single"],
"semi": ["error", "always"],
"space-before-blocks": ["error", "always"],
"space-before-function-paren": ["error", "never"],
"jest/no-disabled-tests": "warn",
"jest/no-focused-tests": "error",
"jest/no-identical-title": "error",
"jest/prefer-to-have-length": "warn",
"jest/valid-expect": "error"
},
"globals": {
"window": true,
"document": true,
"console": true
}
}