forked from arendjr/selectivity
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
53 lines (53 loc) · 1.52 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
47
48
49
50
51
52
53
{
"env": {
"browser": true,
"node": true,
"phantomjs": true
},
"extends": ["eslint:recommended", "prettier"],
"globals": {
"window": false,
"Comment": true,
"Promise": true
},
"plugins": [
"prettier"
],
"rules": {
"constructor-super": "error",
"linebreak-style": ["error", "unix"],
"new-cap": "error",
"no-catch-shadow": "error",
"no-class-assign": "error",
"no-console": 0,
"no-const-assign": "error",
"no-delete-var": "error",
"no-dupe-class-members": "error",
"no-label-var": "error",
"no-this-before-super": "error",
"no-undef": "error",
"no-undef-init": "error",
"no-unused-vars": "error",
"no-use-before-define": ["error", { "classes": false, "functions": false }],
"no-useless-constructor": "error",
"prefer-const": "error",
"prettier/prettier": [
"error",
{
"bracketSpacing": true,
"jsxBracketSameLine": true,
"parser": "babylon",
"printWidth": 100,
"singleQuote": true,
"semi": true,
"tabWidth": 4,
"trailingComma": "none"
}
],
"require-yield": "error",
"semi": ["error", "always"],
"spaced-comment": ["error", "always", { "markers": ["/"] }],
"strict": ["error", "global"],
"yoda": "error"
}
}