@whitetrefoil/eslint-config 0.35.0 → 0.36.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +12 -12
- package/rules/ts.js +0 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@whitetrefoil/eslint-config",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.36.1",
|
|
4
4
|
"author": "WhiteTrefoil <whitetrefoil@gmail.com>",
|
|
5
5
|
"license": "Unlicense",
|
|
6
6
|
"engines": {
|
|
@@ -14,24 +14,24 @@
|
|
|
14
14
|
"eslint-plugin-eslint-comments": "^3.2.0"
|
|
15
15
|
},
|
|
16
16
|
"devDependencies": {
|
|
17
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
18
|
-
"@typescript-eslint/parser": "^
|
|
19
|
-
"eslint": "^8.
|
|
17
|
+
"@typescript-eslint/eslint-plugin": "^6.0.0",
|
|
18
|
+
"@typescript-eslint/parser": "^6.0.0",
|
|
19
|
+
"eslint": "^8.44.0",
|
|
20
20
|
"eslint-plugin-node": "^11.1.0",
|
|
21
21
|
"eslint-plugin-react": "^7.32.2",
|
|
22
22
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
23
|
-
"eslint-plugin-vue": "^9.
|
|
24
|
-
"typescript": "^5.
|
|
23
|
+
"eslint-plugin-vue": "^9.15.1",
|
|
24
|
+
"typescript": "^5.1.6"
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
27
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
28
|
-
"@typescript-eslint/parser": "^
|
|
29
|
-
"eslint": "^8.
|
|
27
|
+
"@typescript-eslint/eslint-plugin": "^6.0.0",
|
|
28
|
+
"@typescript-eslint/parser": "^6.0.0",
|
|
29
|
+
"eslint": "^8.44.0",
|
|
30
30
|
"eslint-plugin-node": "^11.1.0",
|
|
31
|
-
"eslint-plugin-react": "^7.
|
|
31
|
+
"eslint-plugin-react": "^7.32.2",
|
|
32
32
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
33
|
-
"eslint-plugin-vue": "^9.
|
|
34
|
-
"typescript": ">=5.
|
|
33
|
+
"eslint-plugin-vue": "^9.15.1",
|
|
34
|
+
"typescript": ">=5.1.0"
|
|
35
35
|
},
|
|
36
36
|
"peerDependenciesMeta": {
|
|
37
37
|
"@typescript-eslint/eslint-plugin": {
|
package/rules/ts.js
CHANGED
|
@@ -129,7 +129,6 @@ module.exports = {
|
|
|
129
129
|
allowWithDecorator : false,
|
|
130
130
|
},
|
|
131
131
|
],
|
|
132
|
-
'@typescript-eslint/no-implicit-any-catch' : [2],
|
|
133
132
|
'@typescript-eslint/no-inferrable-types' : [0],
|
|
134
133
|
'@typescript-eslint/no-invalid-void-type' : [0],
|
|
135
134
|
'@typescript-eslint/no-misused-new' : [2],
|
|
@@ -137,7 +136,6 @@ module.exports = {
|
|
|
137
136
|
'@typescript-eslint/no-mixed-enums' : [0],
|
|
138
137
|
'@typescript-eslint/no-non-null-asserted-optional-chain' : [2],
|
|
139
138
|
'@typescript-eslint/no-non-null-assertion' : [1],
|
|
140
|
-
'@typescript-eslint/no-parameter-properties' : [0],
|
|
141
139
|
'@typescript-eslint/no-require-imports' : [2],
|
|
142
140
|
'@typescript-eslint/no-this-alias' : [1],
|
|
143
141
|
'@typescript-eslint/no-type-alias' : [0],
|
|
@@ -151,7 +149,6 @@ module.exports = {
|
|
|
151
149
|
'@typescript-eslint/prefer-namespace-keyword' : [1],
|
|
152
150
|
'@typescript-eslint/prefer-optional-chain' : [2],
|
|
153
151
|
'@typescript-eslint/prefer-ts-expect-error' : [1],
|
|
154
|
-
'@typescript-eslint/sort-type-union-intersection-members': [0],
|
|
155
152
|
'@typescript-eslint/triple-slash-reference' : [
|
|
156
153
|
1,
|
|
157
154
|
{path: 'never', types: 'prefer-import', lib: 'never'},
|
|
@@ -195,7 +192,6 @@ module.exports = {
|
|
|
195
192
|
'no-dupe-class-members' : [0],
|
|
196
193
|
'@typescript-eslint/no-dupe-class-members' : [0],
|
|
197
194
|
'no-duplicate-imports' : [0],
|
|
198
|
-
'@typescript-eslint/no-duplicate-imports' : [2],
|
|
199
195
|
'no-empty-function' : [0],
|
|
200
196
|
'@typescript-eslint/no-empty-function' : [2],
|
|
201
197
|
'no-extra-parens' : [0],
|