@tb-dev/eslint-config 6.2.5 → 6.2.7
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 +11 -10
package/dist/index.cjs
CHANGED
|
@@ -7,6 +7,7 @@ const globals = require('globals');
|
|
|
7
7
|
|
|
8
8
|
var Glob = /* @__PURE__ */ ((Glob2) => {
|
|
9
9
|
Glob2["All"] = "**/*.?([cm])[jt]s?(x)";
|
|
10
|
+
Glob2["Html"] = "**/*.html";
|
|
10
11
|
Glob2["Javascript"] = "**/*.?([cm])js?(x)";
|
|
11
12
|
Glob2["Svelte"] = "**/*.svelte";
|
|
12
13
|
Glob2["Typescript"] = "**/*.?([cm])ts?(x)";
|
|
@@ -473,7 +474,7 @@ async function tailwind(options) {
|
|
|
473
474
|
}
|
|
474
475
|
|
|
475
476
|
function javascript(options) {
|
|
476
|
-
const files = [Glob.All];
|
|
477
|
+
const files = [Glob.All, Glob.Html];
|
|
477
478
|
if (isEnabled(options.features, "vue")) {
|
|
478
479
|
files.push(Glob.Vue);
|
|
479
480
|
}
|
package/dist/index.js
CHANGED
|
@@ -3,6 +3,7 @@ import globals from 'globals';
|
|
|
3
3
|
|
|
4
4
|
var Glob = /* @__PURE__ */ ((Glob2) => {
|
|
5
5
|
Glob2["All"] = "**/*.?([cm])[jt]s?(x)";
|
|
6
|
+
Glob2["Html"] = "**/*.html";
|
|
6
7
|
Glob2["Javascript"] = "**/*.?([cm])js?(x)";
|
|
7
8
|
Glob2["Svelte"] = "**/*.svelte";
|
|
8
9
|
Glob2["Typescript"] = "**/*.?([cm])ts?(x)";
|
|
@@ -469,7 +470,7 @@ async function tailwind(options) {
|
|
|
469
470
|
}
|
|
470
471
|
|
|
471
472
|
function javascript(options) {
|
|
472
|
-
const files = [Glob.All];
|
|
473
|
+
const files = [Glob.All, Glob.Html];
|
|
473
474
|
if (isEnabled(options.features, "vue")) {
|
|
474
475
|
files.push(Glob.Vue);
|
|
475
476
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tb-dev/eslint-config",
|
|
3
|
-
"version": "6.2.
|
|
3
|
+
"version": "6.2.7",
|
|
4
4
|
"description": "ESLint config",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -22,28 +22,28 @@
|
|
|
22
22
|
"vue"
|
|
23
23
|
],
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
26
|
-
"@typescript-eslint/parser": "^8.
|
|
27
|
-
"eslint-plugin-perfectionist": "^4.
|
|
25
|
+
"@typescript-eslint/eslint-plugin": "^8.24.0",
|
|
26
|
+
"@typescript-eslint/parser": "^8.24.0",
|
|
27
|
+
"eslint-plugin-perfectionist": "^4.8.0",
|
|
28
28
|
"eslint-plugin-react": "^7.37.4",
|
|
29
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.18",
|
|
32
32
|
"eslint-plugin-tailwindcss": "^3.18.0",
|
|
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.19.
|
|
36
|
+
"svelte": "^5.19.10",
|
|
37
37
|
"svelte-eslint-parser": "^1.0.0-next.13",
|
|
38
38
|
"vue-eslint-parser": "^9.4.3"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@types/node": "^22.
|
|
42
|
-
"eslint": "^9.
|
|
43
|
-
"prettier": "^3.
|
|
41
|
+
"@types/node": "^22.13.1",
|
|
42
|
+
"eslint": "^9.20.1",
|
|
43
|
+
"prettier": "^3.5.0",
|
|
44
44
|
"tslib": "^2.8.1",
|
|
45
45
|
"typescript": "^5.7.3",
|
|
46
|
-
"vite": "^6.0
|
|
46
|
+
"vite": "^6.1.0",
|
|
47
47
|
"vite-plugin-dts": "^4.5.0"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
@@ -68,6 +68,7 @@
|
|
|
68
68
|
},
|
|
69
69
|
"scripts": {
|
|
70
70
|
"build": "vite build",
|
|
71
|
+
"format": "prettier . --write",
|
|
71
72
|
"lint": "eslint . --config eslint.config.js --cache",
|
|
72
73
|
"lint-fix": "eslint . --config eslint.config.js --fix",
|
|
73
74
|
"release": "pnpm run build && pnpm publish",
|