-
-
Notifications
You must be signed in to change notification settings - Fork 16
/
.eslintrc
51 lines (51 loc) · 1.35 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
{
"env": {
"browser": true,
"es6": true,
"cypress/globals": true,
"node": true
},
"plugins": ["react", "cypress"],
"extends": [
"react-app",
"plugin:i18n-json/recommended"
],
"rules": {
"comma-dangle": 0,
"react/jsx-uses-vars": 1,
"react/display-name": 1,
"react/prop-types": 0,
"no-unused-vars": "warn",
"no-console": 1,
"no-unexpected-multiline": "warn",
"cypress/no-assigning-return-values": "error",
"cypress/no-unnecessary-waiting": "error",
"i18n-json/identical-keys": [
2,
{
"filePath": {
"admin.json": "../../../../src/admin/translations/languages/en.admin.json",
"feedback.json": "../../../../src/feedback/translations/languages/en.feedback.json",
"root.json": "../../../../src/root/translations/languages/en.root.json"
}
}
],
"i18n-json/valid-message-syntax": [
2,
{
"syntax": "non-empty-string"
}
],
"i18n-json/sorted-keys": [
0
]
},
"overrides": [
{
"files": [
"src/*.*"
],
"excludedFiles": "*.spec.ts"
}
]
}