@pumpn/eslint-config 17.1.1 → 17.1.3
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/config.js +27 -1
- package/deno.json +19 -18
- package/deno.lock +355 -253
- package/package.json +19 -18
- package/plugins.js +3 -1
- package/rules/import-x/static-analysis.js +1 -38
- package/rules/perfectionist.js +1 -0
- package/rules/promise.js +1 -1
- package/rules/react/_exports.js +1 -0
- package/rules/react/core.js +2 -21
- package/rules/react/debug.js +0 -1
- package/rules/react/dom.js +1 -3
- package/rules/react/jsx.js +18 -0
- package/rules/react/web-api.js +2 -0
- package/rules/sonarjs/problem.js +1 -0
- package/rules/sonarjs/suggestion.js +1 -1
- package/rules/stylistic/comments.js +1 -18
- package/rules/suggestions.js +7 -2
- package/rules/unicorn.js +47 -4
package/config.js
CHANGED
|
@@ -169,7 +169,6 @@ const config = defineConfig([
|
|
|
169
169
|
files: ["**/*.doc.js"],
|
|
170
170
|
rules: {
|
|
171
171
|
"import-x/unambiguous": "off",
|
|
172
|
-
"unicorn/no-empty-file": "off",
|
|
173
172
|
"unicorn/prevent-abbreviations": "off"
|
|
174
173
|
}
|
|
175
174
|
},
|
|
@@ -178,6 +177,33 @@ const config = defineConfig([
|
|
|
178
177
|
rules: {
|
|
179
178
|
"unicorn/prevent-abbreviations": "off"
|
|
180
179
|
}
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
files: ["_types/global.d.ts"],
|
|
183
|
+
rules: {
|
|
184
|
+
"max-classes-per-file": "off",
|
|
185
|
+
"sonarjs/no-built-in-override": "off",
|
|
186
|
+
"unicorn/prevent-abbreviations": "off",
|
|
187
|
+
"unicorn/require-module-specifiers": "off"
|
|
188
|
+
}
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
files: ["**/*.d.ts"],
|
|
192
|
+
rules: {
|
|
193
|
+
"max-classes-per-file": "off",
|
|
194
|
+
"import-x/group-exports": "off",
|
|
195
|
+
"import-x/prefer-default-export": "off",
|
|
196
|
+
"import-x/unambiguous": "off",
|
|
197
|
+
"no-unused-vars": "off",
|
|
198
|
+
"sonarjs/no-built-in-override": "off",
|
|
199
|
+
"unicorn/prevent-abbreviations": "off"
|
|
200
|
+
}
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
files: ["routes/**"],
|
|
204
|
+
rules: {
|
|
205
|
+
"import-x/prefer-default-export": "off"
|
|
206
|
+
}
|
|
181
207
|
}
|
|
182
208
|
]);
|
|
183
209
|
|
package/deno.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pumpn/eslint-config",
|
|
3
|
-
"version": "17.1.
|
|
3
|
+
"version": "17.1.3",
|
|
4
4
|
"exports": "./config.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"tasks": {
|
|
@@ -38,31 +38,32 @@
|
|
|
38
38
|
]
|
|
39
39
|
},
|
|
40
40
|
"imports": {
|
|
41
|
-
"@eslint-community/eslint-plugin-eslint-comments": "npm:@eslint-community/eslint-plugin-eslint-comments@^4.7.
|
|
42
|
-
"@std/path": "jsr:@std/path@^1.1.
|
|
41
|
+
"@eslint-community/eslint-plugin-eslint-comments": "npm:@eslint-community/eslint-plugin-eslint-comments@^4.7.2",
|
|
42
|
+
"@std/path": "jsr:@std/path@^1.1.5",
|
|
43
43
|
"@stylistic/eslint-plugin": "npm:@stylistic/eslint-plugin@^5.10.0",
|
|
44
|
-
"@typescript-eslint/parser": "npm:@typescript-eslint/parser@^8.
|
|
45
|
-
"eslint": "npm:eslint@^10.0
|
|
46
|
-
"eslint-import-resolver-typescript": "npm:eslint-import-resolver-typescript@^4.4.
|
|
44
|
+
"@typescript-eslint/parser": "npm:@typescript-eslint/parser@^8.61.0",
|
|
45
|
+
"eslint": "npm:eslint@^10.5.0",
|
|
46
|
+
"eslint-import-resolver-typescript": "npm:eslint-import-resolver-typescript@^4.4.5",
|
|
47
47
|
"eslint-plugin-command": "npm:eslint-plugin-command@^3.5.2",
|
|
48
48
|
"eslint-plugin-depend": "npm:eslint-plugin-depend@^1.5.0",
|
|
49
49
|
"eslint-plugin-import-x": "npm:eslint-plugin-import-x@^4.16.2",
|
|
50
|
-
"eslint-plugin-jsdoc": "npm:eslint-plugin-jsdoc@^
|
|
50
|
+
"eslint-plugin-jsdoc": "npm:eslint-plugin-jsdoc@^63.0.2",
|
|
51
51
|
"eslint-plugin-no-secrets": "npm:eslint-plugin-no-secrets@^2.3.3",
|
|
52
|
-
"eslint-plugin-perfectionist": "npm:eslint-plugin-perfectionist@^5.
|
|
53
|
-
"eslint-plugin-promise": "npm:eslint-plugin-promise@^7.
|
|
54
|
-
"eslint-plugin-react-dom": "npm:eslint-plugin-react-dom@^
|
|
55
|
-
"eslint-plugin-react-
|
|
56
|
-
"eslint-plugin-react-
|
|
57
|
-
"eslint-plugin-react-
|
|
58
|
-
"eslint-plugin-react-
|
|
52
|
+
"eslint-plugin-perfectionist": "npm:eslint-plugin-perfectionist@^5.9.0",
|
|
53
|
+
"eslint-plugin-promise": "npm:eslint-plugin-promise@^7.3.0",
|
|
54
|
+
"eslint-plugin-react-dom": "npm:eslint-plugin-react-dom@^5.9.0",
|
|
55
|
+
"eslint-plugin-react-jsx": "npm:eslint-plugin-react-jsx@^5.9.0",
|
|
56
|
+
"eslint-plugin-react-naming-convention": "npm:eslint-plugin-react-naming-convention@^5.9.0",
|
|
57
|
+
"eslint-plugin-react-rsc": "npm:eslint-plugin-react-rsc@^5.9.0",
|
|
58
|
+
"eslint-plugin-react-web-api": "npm:eslint-plugin-react-web-api@^5.9.0",
|
|
59
|
+
"eslint-plugin-react-x": "npm:eslint-plugin-react-x@^5.9.0",
|
|
59
60
|
"eslint-plugin-redos": "npm:eslint-plugin-redos@^4.5.0",
|
|
60
61
|
"eslint-plugin-regexp": "npm:eslint-plugin-regexp@^3.1.0",
|
|
61
|
-
"eslint-plugin-security": "npm:eslint-plugin-security@^4.0.
|
|
62
|
-
"eslint-plugin-sonarjs": "npm:eslint-plugin-sonarjs@^4.0.
|
|
62
|
+
"eslint-plugin-security": "npm:eslint-plugin-security@^4.0.1",
|
|
63
|
+
"eslint-plugin-sonarjs": "npm:eslint-plugin-sonarjs@^4.0.3",
|
|
63
64
|
"eslint-plugin-tailwindcss": "npm:eslint-plugin-tailwindcss@^4.0.0-beta.0",
|
|
64
|
-
"eslint-plugin-unicorn": "npm:eslint-plugin-unicorn@^
|
|
65
|
-
"globals": "npm:globals@^17.
|
|
65
|
+
"eslint-plugin-unicorn": "npm:eslint-plugin-unicorn@^65.0.1",
|
|
66
|
+
"globals": "npm:globals@^17.6.0",
|
|
66
67
|
"preact": "https://esm.sh/*preact@10.19.3?dev",
|
|
67
68
|
"preact/jsx-runtime": "https://esm.sh/*preact@10.19.3/jsx-runtime?dev"
|
|
68
69
|
},
|