@joshuaavalon/eslint-config-typescript 8.0.1 → 8.1.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/index.js +5 -1
- package/dist/esm/index.js +5 -1
- package/package.json +3 -3
package/dist/cjs/index.js
CHANGED
@@ -55,7 +55,11 @@ const rules$1 = {
|
|
55
55
|
"@typescript-eslint/adjacent-overload-signatures": "error",
|
56
56
|
"@typescript-eslint/array-type": "error",
|
57
57
|
"@typescript-eslint/await-thenable": "error",
|
58
|
-
"@typescript-eslint/no-empty-object-type": "error",
|
58
|
+
"@typescript-eslint/no-empty-object-type": ["error",
|
59
|
+
{
|
60
|
+
allowInterfaces: "always",
|
61
|
+
allowObjectTypes: "always"
|
62
|
+
}],
|
59
63
|
"@typescript-eslint/no-unsafe-function-type": "error",
|
60
64
|
"@typescript-eslint/no-wrapper-object-types": "error",
|
61
65
|
"@typescript-eslint/consistent-generic-constructors": "error",
|
package/dist/esm/index.js
CHANGED
@@ -53,7 +53,11 @@ const rules$1 = {
|
|
53
53
|
"@typescript-eslint/adjacent-overload-signatures": "error",
|
54
54
|
"@typescript-eslint/array-type": "error",
|
55
55
|
"@typescript-eslint/await-thenable": "error",
|
56
|
-
"@typescript-eslint/no-empty-object-type": "error",
|
56
|
+
"@typescript-eslint/no-empty-object-type": ["error",
|
57
|
+
{
|
58
|
+
allowInterfaces: "always",
|
59
|
+
allowObjectTypes: "always"
|
60
|
+
}],
|
57
61
|
"@typescript-eslint/no-unsafe-function-type": "error",
|
58
62
|
"@typescript-eslint/no-wrapper-object-types": "error",
|
59
63
|
"@typescript-eslint/consistent-generic-constructors": "error",
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@joshuaavalon/eslint-config-typescript",
|
3
|
-
"version": "8.
|
3
|
+
"version": "8.1.1",
|
4
4
|
"description": "Shareable ESLint Typescript config.",
|
5
5
|
"type": "module",
|
6
6
|
"main": "dist/cjs/index.js",
|
@@ -34,8 +34,8 @@
|
|
34
34
|
"url": "https://github.com/joshuaavalon/eslint-config/issues"
|
35
35
|
},
|
36
36
|
"dependencies": {
|
37
|
-
"@joshuaavalon/eslint-config-javascript": "^8.
|
38
|
-
"typescript-eslint": "^8.0.0
|
37
|
+
"@joshuaavalon/eslint-config-javascript": "^8.1.1",
|
38
|
+
"typescript-eslint": "^8.0.0"
|
39
39
|
},
|
40
40
|
"peerDependencies": {
|
41
41
|
"eslint": "^9.8.0"
|