@tb-dev/eslint-config 3.0.2 → 3.1.0
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/dist/index.cjs +1 -0
- package/dist/index.js +1 -0
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -328,6 +328,7 @@ async function typescript(options) {
|
|
|
328
328
|
minimumDescriptionLength: 3
|
|
329
329
|
}
|
|
330
330
|
],
|
|
331
|
+
"@typescript-eslint/ban-types": "error",
|
|
331
332
|
"@typescript-eslint/class-literal-property-style": ["error", "fields"],
|
|
332
333
|
"class-methods-use-this": "off",
|
|
333
334
|
"@typescript-eslint/class-methods-use-this": [
|
package/dist/index.js
CHANGED
|
@@ -305,6 +305,7 @@ async function typescript(options) {
|
|
|
305
305
|
minimumDescriptionLength: 3
|
|
306
306
|
}
|
|
307
307
|
],
|
|
308
|
+
"@typescript-eslint/ban-types": "error",
|
|
308
309
|
"@typescript-eslint/class-literal-property-style": ["error", "fields"],
|
|
309
310
|
"class-methods-use-this": "off",
|
|
310
311
|
"@typescript-eslint/class-methods-use-this": [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tb-dev/eslint-config",
|
|
3
|
-
"version": "3.0
|
|
3
|
+
"version": "3.1.0",
|
|
4
4
|
"description": "ESLint config",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"@typescript-eslint/eslint-plugin": "^7.2.0",
|
|
22
22
|
"@typescript-eslint/parser": "^7.2.0",
|
|
23
23
|
"eslint-config-prettier": "^9.1.0",
|
|
24
|
-
"eslint-plugin-perfectionist": "^2.
|
|
24
|
+
"eslint-plugin-perfectionist": "^2.7.0",
|
|
25
25
|
"eslint-plugin-unicorn": "^51.0.1",
|
|
26
26
|
"eslint-plugin-vitest": "^0.3.26",
|
|
27
27
|
"eslint-plugin-vue": "^9.23.0",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@types/eslint-config-prettier": "^6.11.3",
|
|
33
|
-
"@types/node": "^20.11.
|
|
33
|
+
"@types/node": "^20.11.28",
|
|
34
34
|
"eslint": "^8.57.0",
|
|
35
35
|
"husky": "^9.0.11",
|
|
36
36
|
"lint-staged": "^15.2.2",
|