-
Notifications
You must be signed in to change notification settings - Fork 38
/
.eslintrc.json
39 lines (39 loc) · 1.29 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
{
"extends": [
"plugin:@typescript-eslint/recommended",
"standard-kit/prettier/typescript",
"standard-kit/prettier/node"
],
"parserOptions": {
"project": "tsconfig.json"
},
"ignorePatterns": ["artifacts/**", "cache/**", "docs/**", "types/**", "test-old/**"],
"plugins": ["prettier", "simple-import-sort", "@typescript-eslint"],
"rules": {
"@typescript-eslint/no-empty-interface": "off",
"@typescript-eslint/no-empty-function": "warn",
"@typescript-eslint/no-unused-vars": [
"warn",
{
"ignoreRestSiblings": true,
"argsIgnorePattern": "^_"
}
],
"@typescript-eslint/no-extraneous-class": "off",
"@typescript-eslint/promise-function-async": "off",
"@typescript-eslint/restrict-template-expressions": "off",
"@typescript-eslint/strict-boolean-expressions": "off",
"@typescript-eslint/no-non-null-assertion": "warn",
"@typescript-eslint/no-unused-expressions": "off",
"@typescript-eslint/require-array-sort-compare": "off",
"arrow-parens": "error",
"no-extra-semi": "error",
"no-unused-vars": "off",
"no-useless-return": "off",
"no-void": "off",
"prefer-arrow-callback": "error",
"prettier/prettier": "error",
"semi": ["error", "never"],
"simple-import-sort/imports": "error"
}
}