forked from i18next/next-i18next
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
43 lines (43 loc) · 1.16 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
{
"parser": "@typescript-eslint/parser",
"extends": [
"plugin:react/recommended",
"plugin:@typescript-eslint/recommended"
],
"settings": {
"react": {
"version": "detect"
}
},
"env": {
"browser": true
},
"rules": {
"@typescript-eslint/indent": ["error", 2],
"semi": "off",
"@typescript-eslint/semi": ["error", "never"],
"@typescript-eslint/no-var-requires": 0,
"@typescript-eslint/no-explicit-any": 0,
"@typescript-eslint/explicit-function-return-type": 0,
"@typescript-eslint/explicit-member-accessibility": 0,
"@typescript-eslint/no-object-literal-type-assertion": 0,
"padded-blocks": 0,
"global-require": 0,
"function-paren-newline": 0,
"no-buffer-constructor": 0,
"import/no-extraneous-dependencies": 0,
"import/no-unresolved": 0,
"import/extensions": 0,
"import/no-mutable-exports": 0,
"react/prop-types": 0,
"react/display-name": 0,
"react/jsx-filename-extension": 0,
"react/prefer-stateless-function": 0,
"no-restricted-syntax": 0,
"no-useless-escape": 0,
"no-eval": 0,
"no-console": ["error", {
"allow": ["warn", "error"]
}]
}
}