@pumpn/eslint-config 15.5.3 → 15.6.1
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 +15 -0
- package/deno.json +9 -8
- package/deno.lock +1047 -1375
- package/package.json +11 -15
- package/rules/func-params-args.js +1 -0
- package/rules/import-x/static-analysis.js +1 -1
- package/rules/jsdoc.js +1 -1
- package/rules/perfectionist.js +49 -48
- package/rules/regexp/best-practices.js +1 -2
- package/rules/unicorn.js +10 -10
- package/scripts/update-package-json.js +46 -0
package/config.js
CHANGED
|
@@ -173,6 +173,7 @@ const config = /** @type {const} */ ([
|
|
|
173
173
|
{
|
|
174
174
|
files: ["**/_exports.?(*.)js"],
|
|
175
175
|
rules: {
|
|
176
|
+
"@eslint-react/naming-convention/filename": "off",
|
|
176
177
|
"import-x/max-dependencies": "off",
|
|
177
178
|
"import-x/prefer-default-export": "off"
|
|
178
179
|
}
|
|
@@ -226,6 +227,20 @@ const config = /** @type {const} */ ([
|
|
|
226
227
|
},
|
|
227
228
|
plugins,
|
|
228
229
|
rules: rulesWithAutofixDisabled
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
files: ["**/*.doc.js"],
|
|
233
|
+
rules: {
|
|
234
|
+
"import-x/unambiguous": "off",
|
|
235
|
+
"unicorn/no-empty-file": "off",
|
|
236
|
+
"unicorn/prevent-abbreviations": "off"
|
|
237
|
+
}
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
files: ["dev.js"],
|
|
241
|
+
rules: {
|
|
242
|
+
"unicorn/prevent-abbreviations": "off"
|
|
243
|
+
}
|
|
229
244
|
}
|
|
230
245
|
]);
|
|
231
246
|
|
package/deno.json
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pumpn/eslint-config",
|
|
3
|
-
"version": "15.
|
|
3
|
+
"version": "15.6.1",
|
|
4
4
|
"exports": "./config.js",
|
|
5
5
|
"tasks": {
|
|
6
6
|
"lint": "deno run -A npm:eslint",
|
|
7
7
|
"docs": "jsdoc --configure jsdoc.json",
|
|
8
8
|
"publish": "deno task lint && VERSION=$(cat deno.json | jq -r .version) && git tag -a \"v$VERSION\" -m \"\" && git push origin \"v$VERSION\" && deno publish --no-check && npm publish",
|
|
9
9
|
"update-import-map": "deno run -A ./scripts/update-import-map.js",
|
|
10
|
+
"update-package-json": "deno run -A ./scripts/update-package-json.js",
|
|
10
11
|
"update-tsconfig": "deno run -A ./scripts/update-tsconfig.js"
|
|
11
12
|
},
|
|
12
13
|
"compilerOptions": {
|
|
@@ -40,24 +41,24 @@
|
|
|
40
41
|
"@eslint-community/eslint-plugin-eslint-comments": "npm:@eslint-community/eslint-plugin-eslint-comments@^4.4.0",
|
|
41
42
|
"@eslint-react/eslint-plugin": "npm:@eslint-react/eslint-plugin@^1.15.0",
|
|
42
43
|
"@std/path": "jsr:@std/path@^1",
|
|
43
|
-
"@stylistic/eslint-plugin": "npm:@stylistic/eslint-plugin@^
|
|
44
|
+
"@stylistic/eslint-plugin": "npm:@stylistic/eslint-plugin@^3.0.1",
|
|
44
45
|
"@typescript-eslint/parser": "npm:@typescript-eslint/parser@^8.11.0",
|
|
45
|
-
"eslint-plugin-depend": "npm:eslint-plugin-depend@^0.
|
|
46
|
+
"eslint-plugin-depend": "npm:eslint-plugin-depend@^0.12.0",
|
|
46
47
|
"eslint-plugin-disable-autofix": "npm:eslint-plugin-disable-autofix@^5.0.1",
|
|
47
48
|
"eslint-plugin-func-params-args": "npm:eslint-plugin-func-params-args@^4.0.0",
|
|
48
49
|
"eslint-plugin-import-x": "npm:eslint-plugin-import-x@^4.3.1",
|
|
49
50
|
"eslint-plugin-jsdoc": "npm:eslint-plugin-jsdoc@^50.4.3",
|
|
50
|
-
"eslint-plugin-no-secrets": "npm:eslint-plugin-no-secrets@^
|
|
51
|
-
"eslint-plugin-perfectionist": "npm:eslint-plugin-perfectionist@^
|
|
51
|
+
"eslint-plugin-no-secrets": "npm:eslint-plugin-no-secrets@^2.2.1",
|
|
52
|
+
"eslint-plugin-perfectionist": "npm:eslint-plugin-perfectionist@^4.8.0",
|
|
52
53
|
"eslint-plugin-promise": "npm:eslint-plugin-promise@^7.1.0",
|
|
53
54
|
"eslint-plugin-react": "npm:eslint-plugin-react@^7.35.0",
|
|
54
55
|
"eslint-plugin-redos": "npm:eslint-plugin-redos@^4.4.5",
|
|
55
56
|
"eslint-plugin-regexp": "npm:eslint-plugin-regexp@^2.6.0",
|
|
56
57
|
"eslint-plugin-security": "npm:eslint-plugin-security@^3.0.1",
|
|
57
|
-
"eslint-plugin-sonarjs": "npm:eslint-plugin-sonarjs@^
|
|
58
|
-
"eslint-plugin-tailwindcss": "npm:eslint-plugin-tailwindcss@^3.
|
|
58
|
+
"eslint-plugin-sonarjs": "npm:eslint-plugin-sonarjs@^3.0.1",
|
|
59
|
+
"eslint-plugin-tailwindcss": "npm:eslint-plugin-tailwindcss@^3.18.0",
|
|
59
60
|
"eslint-plugin-unicorn": "npm:eslint-plugin-unicorn@^56.0.0",
|
|
60
|
-
"globals": "npm:globals@^15.
|
|
61
|
+
"globals": "npm:globals@^15.14.0",
|
|
61
62
|
"preact": "https://esm.sh/*preact@10.19.3?dev",
|
|
62
63
|
"preact/jsx-runtime": "https://esm.sh/*preact@10.19.3/jsx-runtime?dev"
|
|
63
64
|
},
|