@greenberry/linting-config 3.0.0-beta.3 → 3.0.0-beta.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/eslint.config.js +7 -7
- package/dist/legacy/eslint.config.js +8 -8
- package/package.json +14 -15
package/dist/eslint.config.js
CHANGED
|
@@ -108,14 +108,14 @@ export default defineConfig(eslint.configs.recommended, tseslint.configs.strict,
|
|
|
108
108
|
"@eslint-react/no-unnecessary-use-callback": "warn",
|
|
109
109
|
"@eslint-react/no-unnecessary-use-memo": "warn",
|
|
110
110
|
// ─── React DOM ─────────────────────────────────────────
|
|
111
|
-
"@eslint-react/dom
|
|
112
|
-
"@eslint-react/dom
|
|
113
|
-
"@eslint-react/dom
|
|
111
|
+
"@eslint-react/dom-no-missing-iframe-sandbox": "warn",
|
|
112
|
+
"@eslint-react/dom-no-unsafe-target-blank": "warn",
|
|
113
|
+
"@eslint-react/dom-no-script-url": "error",
|
|
114
114
|
// ─── Web API (leak detection in effects) ───────────────
|
|
115
|
-
"@eslint-react/web-api
|
|
116
|
-
"@eslint-react/web-api
|
|
117
|
-
"@eslint-react/web-api
|
|
118
|
-
"@eslint-react/web-api
|
|
115
|
+
"@eslint-react/web-api-no-leaked-event-listener": "warn",
|
|
116
|
+
"@eslint-react/web-api-no-leaked-interval": "warn",
|
|
117
|
+
"@eslint-react/web-api-no-leaked-resize-observer": "warn",
|
|
118
|
+
"@eslint-react/web-api-no-leaked-timeout": "warn",
|
|
119
119
|
// ─── React Compiler ────────────────────────────────────
|
|
120
120
|
"react-compiler/react-compiler": "error",
|
|
121
121
|
// ─── Import ────────────────────────────────────────────
|
|
@@ -62,15 +62,15 @@ const config = [
|
|
|
62
62
|
"@eslint-react/no-unnecessary-use-callback": "warn",
|
|
63
63
|
"@eslint-react/no-unnecessary-use-memo": "warn",
|
|
64
64
|
// ─── React DOM ─────────────────────────────────────────
|
|
65
|
-
"@eslint-react/dom
|
|
66
|
-
"@eslint-react/dom
|
|
67
|
-
"@eslint-react/dom
|
|
68
|
-
"@eslint-react/dom
|
|
65
|
+
"@eslint-react/dom-no-void-elements-with-children": "error",
|
|
66
|
+
"@eslint-react/dom-no-missing-iframe-sandbox": "warn",
|
|
67
|
+
"@eslint-react/dom-no-unsafe-target-blank": "warn",
|
|
68
|
+
"@eslint-react/dom-no-script-url": "error",
|
|
69
69
|
// ─── Web API (leak detection in effects) ───────────────
|
|
70
|
-
"@eslint-react/web-api
|
|
71
|
-
"@eslint-react/web-api
|
|
72
|
-
"@eslint-react/web-api
|
|
73
|
-
"@eslint-react/web-api
|
|
70
|
+
"@eslint-react/web-api-no-leaked-event-listener": "warn",
|
|
71
|
+
"@eslint-react/web-api-no-leaked-interval": "warn",
|
|
72
|
+
"@eslint-react/web-api-no-leaked-resize-observer": "warn",
|
|
73
|
+
"@eslint-react/web-api-no-leaked-timeout": "warn",
|
|
74
74
|
// ─── React Compiler ────────────────────────────────────
|
|
75
75
|
"react-compiler/react-compiler": "error",
|
|
76
76
|
// ─── Import ────────────────────────────────────────────
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@greenberry/linting-config",
|
|
3
|
-
"version": "3.0.0-beta.
|
|
3
|
+
"version": "3.0.0-beta.4",
|
|
4
4
|
"private": false,
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -26,38 +26,37 @@
|
|
|
26
26
|
"dist"
|
|
27
27
|
],
|
|
28
28
|
"overrides": {
|
|
29
|
-
"ajv": "^8.18.0",
|
|
30
29
|
"eslint-plugin-jsx-a11y": {
|
|
31
30
|
"eslint": "$eslint"
|
|
32
31
|
}
|
|
33
32
|
},
|
|
34
33
|
"dependencies": {
|
|
35
34
|
"@eslint/js": "^10.0.1",
|
|
36
|
-
"@eslint-react/eslint-plugin": "^
|
|
35
|
+
"@eslint-react/eslint-plugin": "^4.2.3",
|
|
37
36
|
"@ianvs/prettier-plugin-sort-imports": "^4.7.1",
|
|
38
|
-
"@next/eslint-plugin-next": "^16.2.
|
|
39
|
-
"@typescript-eslint/parser": "^8.
|
|
40
|
-
"eslint": "^10.
|
|
37
|
+
"@next/eslint-plugin-next": "^16.2.3",
|
|
38
|
+
"@typescript-eslint/parser": "^8.58.1",
|
|
39
|
+
"eslint": "^10.2.0",
|
|
41
40
|
"eslint-config-prettier": "^10.1.8",
|
|
42
41
|
"eslint-import-resolver-typescript": "^4.4.4",
|
|
43
42
|
"eslint-plugin-import-x": "^4.16.2",
|
|
44
43
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
45
|
-
"eslint-plugin-perfectionist": "^5.
|
|
44
|
+
"eslint-plugin-perfectionist": "^5.8.0",
|
|
46
45
|
"eslint-plugin-prettier": "^5.5.5",
|
|
47
46
|
"eslint-plugin-react-compiler": "^19.1.0-rc.2",
|
|
48
|
-
"eslint-plugin-storybook": "^10.3.
|
|
49
|
-
"eslint-plugin-unicorn": "^
|
|
50
|
-
"globals": "^17.
|
|
51
|
-
"prettier": "^3.8.
|
|
47
|
+
"eslint-plugin-storybook": "^10.3.5",
|
|
48
|
+
"eslint-plugin-unicorn": "^64.0.0",
|
|
49
|
+
"globals": "^17.5.0",
|
|
50
|
+
"prettier": "^3.8.2",
|
|
52
51
|
"prettier-plugin-tailwindcss": "^0.7.2",
|
|
53
|
-
"stylelint": "^17.
|
|
52
|
+
"stylelint": "^17.7.0",
|
|
54
53
|
"stylelint-config-standard-scss": "^17.0.0",
|
|
55
54
|
"stylelint-prettier": "^5.0.3",
|
|
56
|
-
"typescript-eslint": "^8.
|
|
55
|
+
"typescript-eslint": "^8.58.1"
|
|
57
56
|
},
|
|
58
57
|
"devDependencies": {
|
|
59
58
|
"@types/eslint-plugin-jsx-a11y": "^6.10.1",
|
|
60
|
-
"@types/node": "^25.
|
|
61
|
-
"typescript": "^
|
|
59
|
+
"@types/node": "^25.6.0",
|
|
60
|
+
"typescript": "^6.0.2"
|
|
62
61
|
}
|
|
63
62
|
}
|