@tb-dev/eslint-config 6.1.7 → 6.2.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/dist/index.cjs +2 -1
- package/dist/index.js +2 -1
- package/package.json +9 -9
package/dist/index.cjs
CHANGED
|
@@ -77,7 +77,7 @@ async function vue(options) {
|
|
|
77
77
|
{
|
|
78
78
|
script: { lang: "ts" },
|
|
79
79
|
style: {
|
|
80
|
-
lang: "scss",
|
|
80
|
+
lang: ["postcss", "scss"],
|
|
81
81
|
allowNoLang: true
|
|
82
82
|
}
|
|
83
83
|
}
|
|
@@ -790,6 +790,7 @@ async function typescript(options) {
|
|
|
790
790
|
}
|
|
791
791
|
}
|
|
792
792
|
],
|
|
793
|
+
"@typescript-eslint/no-misused-spread": "error",
|
|
793
794
|
"@typescript-eslint/no-mixed-enums": "error",
|
|
794
795
|
"@typescript-eslint/no-namespace": "error",
|
|
795
796
|
"@typescript-eslint/no-non-null-asserted-nullish-coalescing": "error",
|
package/dist/index.js
CHANGED
|
@@ -73,7 +73,7 @@ async function vue(options) {
|
|
|
73
73
|
{
|
|
74
74
|
script: { lang: "ts" },
|
|
75
75
|
style: {
|
|
76
|
-
lang: "scss",
|
|
76
|
+
lang: ["postcss", "scss"],
|
|
77
77
|
allowNoLang: true
|
|
78
78
|
}
|
|
79
79
|
}
|
|
@@ -786,6 +786,7 @@ async function typescript(options) {
|
|
|
786
786
|
}
|
|
787
787
|
}
|
|
788
788
|
],
|
|
789
|
+
"@typescript-eslint/no-misused-spread": "error",
|
|
789
790
|
"@typescript-eslint/no-mixed-enums": "error",
|
|
790
791
|
"@typescript-eslint/no-namespace": "error",
|
|
791
792
|
"@typescript-eslint/no-non-null-asserted-nullish-coalescing": "error",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tb-dev/eslint-config",
|
|
3
|
-
"version": "6.1
|
|
3
|
+
"version": "6.2.1",
|
|
4
4
|
"description": "ESLint config",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -22,23 +22,23 @@
|
|
|
22
22
|
"vue"
|
|
23
23
|
],
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
26
|
-
"@typescript-eslint/parser": "^8.
|
|
25
|
+
"@typescript-eslint/eslint-plugin": "^8.20.0",
|
|
26
|
+
"@typescript-eslint/parser": "^8.20.0",
|
|
27
27
|
"eslint-plugin-perfectionist": "^4.6.0",
|
|
28
|
-
"eslint-plugin-react": "^7.37.
|
|
29
|
-
"eslint-plugin-react-compiler": "19.0.0-beta-
|
|
28
|
+
"eslint-plugin-react": "^7.37.4",
|
|
29
|
+
"eslint-plugin-react-compiler": "^19.0.0-beta-e552027-20250112",
|
|
30
30
|
"eslint-plugin-react-hooks": "^5.1.0",
|
|
31
|
-
"eslint-plugin-svelte": "^3.0.0-next.
|
|
31
|
+
"eslint-plugin-svelte": "^3.0.0-next.14",
|
|
32
32
|
"eslint-plugin-tailwindcss": "^3.17.5",
|
|
33
33
|
"eslint-plugin-unicorn": "^56.0.1",
|
|
34
34
|
"eslint-plugin-vue": "^9.32.0",
|
|
35
35
|
"globals": "^15.14.0",
|
|
36
|
-
"svelte": "^5.17.
|
|
37
|
-
"svelte-eslint-parser": "^1.0.0-next.
|
|
36
|
+
"svelte": "^5.17.4",
|
|
37
|
+
"svelte-eslint-parser": "^1.0.0-next.11",
|
|
38
38
|
"vue-eslint-parser": "^9.4.3"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@types/node": "^22.10.
|
|
41
|
+
"@types/node": "^22.10.6",
|
|
42
42
|
"eslint": "^9.18.0",
|
|
43
43
|
"prettier": "^3.4.2",
|
|
44
44
|
"tslib": "^2.8.1",
|