-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc
55 lines (55 loc) · 1.27 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
{
"extends": [
"react-app",
"plugin:testcafe/recommended",
"plugin:prettier/recommended"
],
"env": {
"browser": true,
"commonjs": true,
"es6": true,
"jest": true,
"node": true,
"jasmine": true
},
"globals": {
"appConfig": true
},
"parserOptions": {
"ecmaFeatures": {
"jsx": true,
"modules": true
}
},
"rules": {
"linebreak-style": "off",
"no-const-assign": "warn",
"no-this-before-super": "warn",
"no-undef": "warn",
"no-unreachable": "warn",
"no-unused-vars": "warn",
"no-use-before-define": "off",
"constructor-super": "warn",
"valid-typeof": "warn",
"react/prop-types": 0,
"no-class-assign": 0,
"import/prefer-default-export": 0,
"prettier/prettier": [
"error",
{
"trailingComma": "es5",
"singleQuote": true,
"printWidth": 120,
"semi": true,
"endOfLine": "auto"
}
],
"jsx-a11y/anchor-is-valid": [
"off"
],
"no-script-url": "off"
},
"plugins": [
"prettier"
]
}