-
Notifications
You must be signed in to change notification settings - Fork 41
/
.eslintrc
37 lines (37 loc) · 1.3 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
{
"root": true,
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint"],
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended", "prettier"],
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"rules": {
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": ["warn", { "argsIgnorePattern": "^_", "ignoreRestSiblings": true }],
"no-duplicate-imports": "error",
"@typescript-eslint/no-empty-interface": "off",
"semi": "off",
"@typescript-eslint/semi": ["error", "never"],
"quotes": "off",
"@typescript-eslint/quotes": ["error", "single", { "allowTemplateLiterals": true, "avoidEscape": true }],
"object-curly-spacing": ["error", "always"],
"computed-property-spacing": ["error", "never"],
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/member-delimiter-style": [
"error",
{
"multiline": { "delimiter": "none", "requireLast": false },
"singleline": { "delimiter": "semi", "requireLast": false }
}
],
"@typescript-eslint/no-namespace": "off",
"@typescript-eslint/camelcase": "off",
"max-lines-per-function": ["error", 100],
"@typescript-eslint/explicit-function-return-type": "off"
}
}