We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6da005d commit 0e2982dCopy full SHA for 0e2982d
.eslintrc.json
@@ -2,18 +2,31 @@
2
"root": true,
3
"parser": "@typescript-eslint/parser",
4
"parserOptions": {
5
- "ecmaVersion": 6,
+ "ecmaVersion": 12,
6
"sourceType": "module"
7
},
8
"plugins": [
9
"@typescript-eslint"
10
],
11
"rules": {
12
- "@typescript-eslint/class-name-casing": "warn",
+ "@typescript-eslint/naming-convention": "warn",
13
"@typescript-eslint/semi": "warn",
14
"curly": "warn",
15
"eqeqeq": "warn",
16
"no-throw-literal": "warn",
17
"semi": "off"
18
- }
+ },
19
+ "overrides": [{
20
+ "files": ["**/*.ts"],
21
+ "rules": {
22
+ "@typescript-eslint/naming-convention": ["warn", {
23
+ "selector": "enum",
24
+ "format": null,
25
+ "custom": {
26
+ "regex": "^[A-Z]\\w*$",
27
+ "match": true
28
+ }
29
+ }]
30
31
32
}
0 commit comments