-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
74 lines (74 loc) · 1.54 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
{
"parser": "babel-eslint",
"extends": [
"prettier",
"eslint:recommended",
"plugin:react/recommended"
],
"env": {
"browser": true,
"node": true,
"worker": false,
"amd": false,
"mocha": true,
"jasmine": false,
"phantomjs": false,
"jquery": false,
"prototypejs": false,
"shelljs": false,
"meteor": false,
"mongo": false,
"applescript": false,
"es6": true,
"jest": true
},
"plugins": [
"prettier",
"react",
"chai-friendly",
"@typescript-eslint"
],
"parserOptions": {
"ecmaFeatures": {
"jsx": true
}
},
"rules": {
"quotes": [
"error",
"single"
],
"no-extra-semi": 1,
"no-inner-declarations": 2,
"no-unused-vars": 2,
"react/jsx-uses-react": "error",
"react/jsx-uses-vars": "error",
"no-use-before-define": [
"error",
{
"functions": true,
"classes": true
}
],
"curly": 2,
"no-eval": 2,
"no-extend-native": 2,
"no-new-wrappers": 2,
"no-with": 2,
"no-return-await": 2,
"no-undef": 2,
"no-unused-expressions": 0,
"chai-friendly/no-unused-expressions": 2,
"no-var": 2,
"prefer-const": [
"error",
{
"destructuring": "all",
"ignoreReadBeforeAssign": false
}
],
"no-array-constructor": 2,
"no-new-object": 2,
"prettier/prettier": "error"
}
}