@debbl/eslint-config 3.8.2 → 3.8.4
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 +5 -4
- package/package.json +25 -25
package/dist/index.cjs
CHANGED
|
@@ -183,6 +183,7 @@ var GLOB_EXCLUDE = [
|
|
|
183
183
|
"**/yarn.lock",
|
|
184
184
|
"**/pnpm-lock.yaml",
|
|
185
185
|
"**/bun.lockb",
|
|
186
|
+
"**/public",
|
|
186
187
|
"**/output",
|
|
187
188
|
"**/coverage",
|
|
188
189
|
"**/temp",
|
|
@@ -1619,7 +1620,7 @@ var react = async (options) => {
|
|
|
1619
1620
|
}
|
|
1620
1621
|
},
|
|
1621
1622
|
rules: {
|
|
1622
|
-
...pluginReact.configs.
|
|
1623
|
+
...pluginReact.configs.recommended.rules,
|
|
1623
1624
|
...pluginReactHooks.configs.recommended.rules,
|
|
1624
1625
|
// React Refresh
|
|
1625
1626
|
"react-refresh/only-export-components": "warn",
|
package/dist/index.js
CHANGED
|
@@ -51,8 +51,8 @@ async function comments() {
|
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
// src/configs/ignores.ts
|
|
54
|
-
import fs from "fs";
|
|
55
|
-
import path from "path";
|
|
54
|
+
import fs from "node:fs";
|
|
55
|
+
import path from "node:path";
|
|
56
56
|
|
|
57
57
|
// src/globs.ts
|
|
58
58
|
var GLOB_SRC_EXT = "?([cm])[jt]s?(x)";
|
|
@@ -100,6 +100,7 @@ var GLOB_EXCLUDE = [
|
|
|
100
100
|
"**/yarn.lock",
|
|
101
101
|
"**/pnpm-lock.yaml",
|
|
102
102
|
"**/bun.lockb",
|
|
103
|
+
"**/public",
|
|
103
104
|
"**/output",
|
|
104
105
|
"**/coverage",
|
|
105
106
|
"**/temp",
|
|
@@ -1075,7 +1076,7 @@ var toml = async (options) => {
|
|
|
1075
1076
|
};
|
|
1076
1077
|
|
|
1077
1078
|
// src/configs/typescript.ts
|
|
1078
|
-
import process2 from "process";
|
|
1079
|
+
import process2 from "node:process";
|
|
1079
1080
|
var typeAwareRules = {
|
|
1080
1081
|
"dot-notation": "off",
|
|
1081
1082
|
"no-implied-eval": "off",
|
|
@@ -1536,7 +1537,7 @@ var react = async (options) => {
|
|
|
1536
1537
|
}
|
|
1537
1538
|
},
|
|
1538
1539
|
rules: {
|
|
1539
|
-
...pluginReact.configs.
|
|
1540
|
+
...pluginReact.configs.recommended.rules,
|
|
1540
1541
|
...pluginReactHooks.configs.recommended.rules,
|
|
1541
1542
|
// React Refresh
|
|
1542
1543
|
"react-refresh/only-export-components": "warn",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@debbl/eslint-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "3.8.
|
|
4
|
+
"version": "3.8.4",
|
|
5
5
|
"description": "Brendan Dash's ESLint config",
|
|
6
6
|
"author": "Debbl <me@aiwan.run> (https://github.com/Debbl/)",
|
|
7
7
|
"license": "MIT",
|
|
@@ -26,33 +26,33 @@
|
|
|
26
26
|
"eslint": ">=8.40.0"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@eslint/markdown": "^6.2.
|
|
30
|
-
"@next/eslint-plugin-next": "15.0.
|
|
31
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
32
|
-
"@typescript-eslint/parser": "^8.
|
|
29
|
+
"@eslint/markdown": "^6.2.1",
|
|
30
|
+
"@next/eslint-plugin-next": "^15.0.3",
|
|
31
|
+
"@typescript-eslint/eslint-plugin": "^8.14.0",
|
|
32
|
+
"@typescript-eslint/parser": "^8.14.0",
|
|
33
33
|
"eslint-config-prettier": "^9.1.0",
|
|
34
34
|
"eslint-plugin-eslint-comments": "^3.2.0",
|
|
35
|
-
"eslint-plugin-import-x": "^4.
|
|
36
|
-
"eslint-plugin-jsdoc": "^50.
|
|
37
|
-
"eslint-plugin-jsonc": "^2.
|
|
35
|
+
"eslint-plugin-import-x": "^4.4.2",
|
|
36
|
+
"eslint-plugin-jsdoc": "^50.5.0",
|
|
37
|
+
"eslint-plugin-jsonc": "^2.18.1",
|
|
38
38
|
"eslint-plugin-mdx": "^3.1.5",
|
|
39
|
-
"eslint-plugin-n": "^17.
|
|
39
|
+
"eslint-plugin-n": "^17.13.2",
|
|
40
40
|
"eslint-plugin-no-only-tests": "^3.3.0",
|
|
41
|
-
"eslint-plugin-perfectionist": "^3.9.
|
|
41
|
+
"eslint-plugin-perfectionist": "^3.9.1",
|
|
42
42
|
"eslint-plugin-prettier": "^5.2.1",
|
|
43
|
-
"eslint-plugin-react": "^7.37.
|
|
44
|
-
"eslint-plugin-react-compiler": "
|
|
43
|
+
"eslint-plugin-react": "^7.37.2",
|
|
44
|
+
"eslint-plugin-react-compiler": "latest",
|
|
45
45
|
"eslint-plugin-react-hooks": "^5.0.0",
|
|
46
|
-
"eslint-plugin-react-refresh": "^0.4.
|
|
47
|
-
"eslint-plugin-solid": "^0.14.
|
|
46
|
+
"eslint-plugin-react-refresh": "^0.4.14",
|
|
47
|
+
"eslint-plugin-solid": "^0.14.4",
|
|
48
48
|
"eslint-plugin-tailwindcss": "^3.17.5",
|
|
49
49
|
"eslint-plugin-toml": "^0.11.1",
|
|
50
50
|
"eslint-plugin-unicorn": "^56.0.0",
|
|
51
51
|
"eslint-plugin-unused-imports": "^4.1.4",
|
|
52
52
|
"eslint-plugin-vitest": "^0.5.4",
|
|
53
|
-
"eslint-plugin-vue": "^9.
|
|
54
|
-
"eslint-plugin-yml": "^1.
|
|
55
|
-
"globals": "^15.
|
|
53
|
+
"eslint-plugin-vue": "^9.31.0",
|
|
54
|
+
"eslint-plugin-yml": "^1.15.0",
|
|
55
|
+
"globals": "^15.12.0",
|
|
56
56
|
"jsonc-eslint-parser": "^2.4.0",
|
|
57
57
|
"prettier": "^3.3.3",
|
|
58
58
|
"prettier-plugin-tailwindcss": "^0.6.8",
|
|
@@ -61,20 +61,20 @@
|
|
|
61
61
|
"yaml-eslint-parser": "^1.2.3"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
|
-
"@eslint/config-inspector": "^0.5.
|
|
64
|
+
"@eslint/config-inspector": "^0.5.6",
|
|
65
65
|
"@types/eslint": "^9.6.1",
|
|
66
|
-
"@types/node": "^22.
|
|
67
|
-
"@types/react": "^18.3.
|
|
68
|
-
"bumpp": "^9.
|
|
69
|
-
"eslint": "
|
|
70
|
-
"execa": "^9.
|
|
66
|
+
"@types/node": "^22.9.0",
|
|
67
|
+
"@types/react": "^18.3.12",
|
|
68
|
+
"bumpp": "^9.8.1",
|
|
69
|
+
"eslint": "9.14.0",
|
|
70
|
+
"execa": "^9.5.1",
|
|
71
71
|
"fast-glob": "^3.3.2",
|
|
72
72
|
"fs-extra": "^11.2.0",
|
|
73
73
|
"react": "^18.3.1",
|
|
74
74
|
"sucrase": "^3.35.0",
|
|
75
|
-
"tsup": "^8.3.
|
|
75
|
+
"tsup": "^8.3.5",
|
|
76
76
|
"typescript": "^5.6.3",
|
|
77
|
-
"vitest": "^2.1.
|
|
77
|
+
"vitest": "^2.1.5"
|
|
78
78
|
},
|
|
79
79
|
"scripts": {
|
|
80
80
|
"build": "tsup --format esm,cjs --clean --dts",
|