forked from OpenICGC/catalunya-offline-v3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
47 lines (47 loc) · 1020 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
36
37
38
39
40
41
42
43
44
45
46
47
{
"env": {
"browser": true,
"node": true,
"es2021": true,
"mocha": true
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:react/recommended",
"plugin:i18n-json/recommended"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 2020,
"sourceType": "module"
},
"plugins": [
"react",
"@typescript-eslint"
],
"rules": {
"brace-style": ["error", "1tbs"],
"semi": ["error", "always"],
"quotes": ["error", "single"],
"indent": ["error", 2],
"i18n-json/valid-json": 2,
"i18n-json/sorted-keys": 2,
"i18n-json/identical-keys": [2, {
"filePath": "../../../../src/i18n/ca.json"
}],
"i18n-json/valid-message-syntax": [2, {
"syntax": "non-empty-string"
}],
"react/prop-types": 0
},
"settings": {
"react": {
"version": "detect"
}
}
}