Skip to content

Commit 0e2982d

Browse files
committed
Update packages, engine and config
1 parent 6da005d commit 0e2982d

File tree

4 files changed

+2315
-3269
lines changed

4 files changed

+2315
-3269
lines changed

.eslintrc.json

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,31 @@
22
"root": true,
33
"parser": "@typescript-eslint/parser",
44
"parserOptions": {
5-
"ecmaVersion": 6,
5+
"ecmaVersion": 12,
66
"sourceType": "module"
77
},
88
"plugins": [
99
"@typescript-eslint"
1010
],
1111
"rules": {
12-
"@typescript-eslint/class-name-casing": "warn",
12+
"@typescript-eslint/naming-convention": "warn",
1313
"@typescript-eslint/semi": "warn",
1414
"curly": "warn",
1515
"eqeqeq": "warn",
1616
"no-throw-literal": "warn",
1717
"semi": "off"
18-
}
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+
}]
1932
}

0 commit comments

Comments
 (0)