forked from elamperti/OpenWebScrobbler
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
46 lines (46 loc) · 1.03 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
42
43
44
45
46
{
"env": {
"browser": true,
"es6": true,
"jest": true,
"node": true,
"cypress/globals": true
},
"extends": ["standard", "react-app", "react-app/jest"],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"allowImportExportEverywhere": false,
"ecmaFeatures": {
"experimentalObjectRestSpread": true,
"jsx": true
},
"sourceType": "module"
},
"settings": {
"react": {
"version": "16.5"
}
},
"plugins": ["cypress", "n", "promise"],
"rules": {
"comma-dangle": [
"warn",
{
"arrays": "always-multiline",
"objects": "always-multiline",
"imports": "always-multiline",
"exports": "always-multiline",
"functions": "never"
}
],
"multiline-ternary": "off",
"no-console": "warn",
"no-unused-vars": "warn",
"prefer-const": "warn",
"react/prop-types": 1,
"semi": [2, "always"],
"space-infix-ops": 1,
"space-before-function-paren": [2, "never"],
"strict": ["error", "global"]
}
}