forked from davidcalhoun/eslint-plugin-test-selectors
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc
35 lines (35 loc) · 953 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
{
"extends": [
"eslint:recommended",
],
"env": {
"browser": true,
"es6": true,
"jest": true,
"node": true
},
"parser": "babel-eslint",
"parserOptions": {
"ecmaFeatures": {
"experimentalDecorators": true,
"experimentalObjectRestSpread": true,
"jsx": true
},
"ecmaVersion": 2017,
"sourceType": "module"
},
"rules": {
"indent": ["error", 4, { "SwitchCase": 1 }],
"linebreak-style": ["error", "unix"],
"max-len": ["error", {
"code": 120,
"comments": 120,
"ignoreUrls": true
}],
"no-console": ["error", { "allow": ["debug", "error", "info", "warn"] }],
"object-curly-spacing": ["error", "always"],
"prefer-template": ["error"],
"semi": ["error", "always"],
"template-curly-spacing": ["error", "always"]
}
}