-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
53 lines (53 loc) · 1.59 KB
/
.eslintrc.json
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
{
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:import/recommended",
"plugin:import/typescript",
"plugin:jest/recommended",
"plugin:jest/style",
"plugin:jest-formatting/recommended",
"plugin:prettier/recommended"
],
"env": {
"browser": true,
"es6": true,
"node": true
},
"rules": {
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-unused-vars": ["error", { "argsIgnorePattern": "^_", "ignoreRestSiblings": true }],
"@typescript-eslint/no-use-before-define": "off",
"@typescript-eslint/no-var-requires": "off",
"arrow-parens": ["error", "as-needed"],
"import/export": "off",
"import/extensions": ["error", "never", { "svg": "always" }],
"import/named": "off",
"import/order": [
"error",
{
"alphabetize": { "order": "asc", "caseInsensitive": false },
"newlines-between": "always"
}
],
"import/no-mutable-exports": "error",
"import/no-named-as-default": "off",
"import/no-unresolved": "off",
"jest/no-alias-methods": "error",
"jest/no-commented-out-tests": "error",
"jest/no-disabled-tests": "error",
"jest/no-jasmine-globals": "error",
"jest/no-try-expect": "off",
"sort-imports": ["error", { "ignoreDeclarationSort": true }]
},
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
}
}