Skip to content

Commit 66c080f

Browse files
committed
Update .eslintrc.json
1 parent d254b2e commit 66c080f

File tree

1 file changed

+13
-28
lines changed

1 file changed

+13
-28
lines changed

.eslintrc.json

Lines changed: 13 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,22 @@
11
{
22
"root": true,
3-
"extends": [
4-
"eslint:recommended",
5-
"plugin:@typescript-eslint/recommended",
6-
"plugin:@typescript-eslint/recommended-requiring-type-checking"
7-
],
83
"parser": "@typescript-eslint/parser",
94
"parserOptions": {
10-
"ecmaVersion": 6,
11-
"project": "./tsconfig.json",
12-
"sourceType": "module"
5+
"ecmaVersion": 6,
6+
"sourceType": "module"
137
},
14-
"plugins": ["@typescript-eslint"],
8+
"plugins": [
9+
"@typescript-eslint"
10+
],
1511
"rules": {
16-
"@typescript-eslint/naming-convention": [
17-
"warn",
18-
{
19-
"selector": "class",
20-
"format": ["PascalCase"]
21-
}
22-
],
23-
"@typescript-eslint/semi": "warn",
24-
"curly": "warn",
25-
"eqeqeq": "warn",
26-
"no-throw-literal": "warn",
27-
"semi": "off",
28-
"indent": ["error", "tab"]
12+
"@typescript-eslint/naming-convention": "warn",
13+
"@typescript-eslint/semi": "warn",
14+
"curly": "warn",
15+
"eqeqeq": "warn",
16+
"no-throw-literal": "warn",
17+
"semi": "off"
2918
},
30-
"ignorePatterns": ["**/fixtures/**"],
31-
"overrides": [
32-
{
33-
"files": ["**/*.ts"],
34-
"excludedFiles": ["**/fixtures/**"]
35-
}
19+
"ignorePatterns": [
20+
"**/*.d.ts"
3621
]
3722
}

0 commit comments

Comments
 (0)