-
Notifications
You must be signed in to change notification settings - Fork 4
/
.eslintrc
37 lines (37 loc) · 826 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
{
"extends": [
"airbnb",
"airbnb/hooks",
"airbnb-typescript",
"plugin:i18next/recommended",
"prettier"
],
"parserOptions": {
"project": "./tsconfig.json"
},
"rules": {
"react/jsx-uses-react": "off",
"react/react-in-jsx-scope": "off",
"react/require-default-props": "off",
"react/jsx-props-no-spreading": "off",
"consistent-return": "off",
"no-param-reassign": "off",
"i18next/no-literal-string": [
"warn",
{
"markupOnly": true,
"ignore": ["Pixous", "en"],
"ignoreCallee": ["import.meta.glob", "import.meta.globEager", "register"],
"ignoreAttribute": ["id", "name"]
}
]
},
"overrides": [
{
"files": ["./src/lang/*"],
"rules": {
"i18next/no-literal-string": "off"
}
}
]
}