@debbl/eslint-config 3.8.9 → 3.8.10
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 +6 -0
- package/dist/index.js +6 -0
- package/package.json +13 -13
package/dist/index.cjs
CHANGED
|
@@ -1603,6 +1603,7 @@ var react = async (options) => {
|
|
|
1603
1603
|
"react-dom": plugins["@eslint-react/dom"],
|
|
1604
1604
|
"react-hooks-extra": plugins["@eslint-react/hooks-extra"],
|
|
1605
1605
|
"react-naming-convention": plugins["@eslint-react/naming-convention"],
|
|
1606
|
+
"react-web-api": plugins["@eslint-react/web-api"],
|
|
1606
1607
|
"react-hooks": pluginReactHooks,
|
|
1607
1608
|
"react-refresh": pluginReactRefresh,
|
|
1608
1609
|
...enableCompiler ? {
|
|
@@ -1652,6 +1653,11 @@ var react = async (options) => {
|
|
|
1652
1653
|
...enableCompiler ? {
|
|
1653
1654
|
"react-compiler/react-compiler": "error"
|
|
1654
1655
|
} : {},
|
|
1656
|
+
// recommended rules from @eslint-react/web-api
|
|
1657
|
+
"react-web-api/no-leaked-event-listener": "warn",
|
|
1658
|
+
"react-web-api/no-leaked-interval": "warn",
|
|
1659
|
+
"react-web-api/no-leaked-resize-observer": "warn",
|
|
1660
|
+
"react-web-api/no-leaked-timeout": "warn",
|
|
1655
1661
|
// recommended rules from @eslint-react
|
|
1656
1662
|
"react/ensure-forward-ref-using-ref": "warn",
|
|
1657
1663
|
"react/jsx-no-duplicate-props": "warn",
|
package/dist/index.js
CHANGED
|
@@ -1520,6 +1520,7 @@ var react = async (options) => {
|
|
|
1520
1520
|
"react-dom": plugins["@eslint-react/dom"],
|
|
1521
1521
|
"react-hooks-extra": plugins["@eslint-react/hooks-extra"],
|
|
1522
1522
|
"react-naming-convention": plugins["@eslint-react/naming-convention"],
|
|
1523
|
+
"react-web-api": plugins["@eslint-react/web-api"],
|
|
1523
1524
|
"react-hooks": pluginReactHooks,
|
|
1524
1525
|
"react-refresh": pluginReactRefresh,
|
|
1525
1526
|
...enableCompiler ? {
|
|
@@ -1569,6 +1570,11 @@ var react = async (options) => {
|
|
|
1569
1570
|
...enableCompiler ? {
|
|
1570
1571
|
"react-compiler/react-compiler": "error"
|
|
1571
1572
|
} : {},
|
|
1573
|
+
// recommended rules from @eslint-react/web-api
|
|
1574
|
+
"react-web-api/no-leaked-event-listener": "warn",
|
|
1575
|
+
"react-web-api/no-leaked-interval": "warn",
|
|
1576
|
+
"react-web-api/no-leaked-resize-observer": "warn",
|
|
1577
|
+
"react-web-api/no-leaked-timeout": "warn",
|
|
1572
1578
|
// recommended rules from @eslint-react
|
|
1573
1579
|
"react/ensure-forward-ref-using-ref": "warn",
|
|
1574
1580
|
"react/jsx-no-duplicate-props": "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.10",
|
|
5
5
|
"description": "Brendan Dash's ESLint config",
|
|
6
6
|
"author": "Debbl <me@aiwan.run> (https://github.com/Debbl/)",
|
|
7
7
|
"license": "MIT",
|
|
@@ -27,19 +27,19 @@
|
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@eslint-community/eslint-plugin-eslint-comments": "^4.4.1",
|
|
30
|
-
"@eslint-react/eslint-plugin": "^1.
|
|
30
|
+
"@eslint-react/eslint-plugin": "^1.23.2",
|
|
31
31
|
"@eslint/markdown": "^6.2.1",
|
|
32
|
-
"@next/eslint-plugin-next": "^15.1.
|
|
33
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
34
|
-
"@typescript-eslint/parser": "^8.
|
|
35
|
-
"@vitest/eslint-plugin": "^1.1.
|
|
32
|
+
"@next/eslint-plugin-next": "^15.1.4",
|
|
33
|
+
"@typescript-eslint/eslint-plugin": "^8.19.1",
|
|
34
|
+
"@typescript-eslint/parser": "^8.19.1",
|
|
35
|
+
"@vitest/eslint-plugin": "^1.1.24",
|
|
36
36
|
"eslint-config-prettier": "^9.1.0",
|
|
37
37
|
"eslint-plugin-import-x": "^4.6.1",
|
|
38
38
|
"eslint-plugin-jsdoc": "^50.6.1",
|
|
39
39
|
"eslint-plugin-jsonc": "^2.18.2",
|
|
40
40
|
"eslint-plugin-n": "^17.15.1",
|
|
41
41
|
"eslint-plugin-no-only-tests": "^3.3.0",
|
|
42
|
-
"eslint-plugin-perfectionist": "^4.
|
|
42
|
+
"eslint-plugin-perfectionist": "^4.6.0",
|
|
43
43
|
"eslint-plugin-prettier": "^5.2.1",
|
|
44
44
|
"eslint-plugin-react-compiler": "latest",
|
|
45
45
|
"eslint-plugin-react-hooks": "^5.1.0",
|
|
@@ -60,19 +60,19 @@
|
|
|
60
60
|
"yaml-eslint-parser": "^1.2.3"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
|
-
"@eslint/config-inspector": "^0.
|
|
63
|
+
"@eslint/config-inspector": "^0.7.1",
|
|
64
64
|
"@types/eslint": "^9.6.1",
|
|
65
|
-
"@types/node": "^22.10.
|
|
66
|
-
"@types/react": "^19.0.
|
|
67
|
-
"bumpp": "^9.
|
|
65
|
+
"@types/node": "^22.10.5",
|
|
66
|
+
"@types/react": "^19.0.4",
|
|
67
|
+
"bumpp": "^9.10.0",
|
|
68
68
|
"eslint": "^9.17.0",
|
|
69
69
|
"execa": "^9.5.2",
|
|
70
|
-
"fast-glob": "^3.3.
|
|
70
|
+
"fast-glob": "^3.3.3",
|
|
71
71
|
"fs-extra": "^11.2.0",
|
|
72
72
|
"react": "^19.0.0",
|
|
73
73
|
"sucrase": "^3.35.0",
|
|
74
74
|
"tsup": "^8.3.5",
|
|
75
|
-
"typescript": "^5.7.
|
|
75
|
+
"typescript": "^5.7.3",
|
|
76
76
|
"vitest": "^2.1.8"
|
|
77
77
|
},
|
|
78
78
|
"scripts": {
|