@pumpn/eslint-config 16.2.1 → 17.0.0
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 +1 -0
- package/deno.json +26 -22
- package/deno.lock +293 -435
- package/eslint.config.js +0 -15
- package/package.json +22 -22
- package/plugins.js +4 -14
- package/rules/_exports.js +1 -5
- package/rules/eslint-comments/best-practices.js +0 -1
- package/rules/import-x/helpful-warnings.js +1 -0
- package/rules/jsdoc.js +2 -0
- package/rules/perfectionist.js +3 -2
- package/rules/react/_exports.js +1 -1
- package/rules/react/core.js +24 -10
- package/rules/react/naming-convention.js +2 -24
- package/rules/react/rsc.js +5 -0
- package/rules/regexp/stylistic-issues.js +2 -2
- package/rules/sonarjs/_exports.js +2 -2
- package/rules/sonarjs/problem.js +122 -0
- package/rules/sonarjs/suggestion.js +135 -0
- package/rules/stylistic/jsx.js +11 -0
- package/rules/stylistic/spacing.js +15 -0
- package/rules/suggestions.js +15 -1
- package/rules/unicorn.js +9 -0
- package/rules/github.js +0 -34
- package/rules/jsx-a11y.js +0 -146
- package/rules/no-unsanitized.js +0 -13
- package/rules/react/hooks-extra.js +0 -5
- package/rules/redos.js +0 -22
- package/rules/sonarjs/bug-detection.js +0 -13
- package/rules/sonarjs/code-smell-detection.js +0 -37
package/config.js
CHANGED
package/deno.json
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pumpn/eslint-config",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "17.0.0",
|
|
4
4
|
"exports": "./config.js",
|
|
5
|
+
"license": "MIT",
|
|
5
6
|
"tasks": {
|
|
6
7
|
"lint": "deno x eslint",
|
|
7
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",
|
|
@@ -37,31 +38,31 @@
|
|
|
37
38
|
]
|
|
38
39
|
},
|
|
39
40
|
"imports": {
|
|
40
|
-
"@eslint-community/eslint-plugin-eslint-comments": "npm:@eslint-community/eslint-plugin-eslint-comments@^4.
|
|
41
|
+
"@eslint-community/eslint-plugin-eslint-comments": "npm:@eslint-community/eslint-plugin-eslint-comments@^4.7.1",
|
|
41
42
|
"@std/path": "jsr:@std/path@^1.1.4",
|
|
42
|
-
"@stylistic/eslint-plugin": "npm:@stylistic/eslint-plugin@^5.
|
|
43
|
-
"@typescript-eslint/parser": "npm:@typescript-eslint/parser@^8.
|
|
44
|
-
"eslint": "npm:eslint@^
|
|
43
|
+
"@stylistic/eslint-plugin": "npm:@stylistic/eslint-plugin@^5.10.0",
|
|
44
|
+
"@typescript-eslint/parser": "npm:@typescript-eslint/parser@^8.57.1",
|
|
45
|
+
"eslint": "npm:eslint@^10.0.3",
|
|
45
46
|
"eslint-import-resolver-typescript": "npm:eslint-import-resolver-typescript@^4.4.4",
|
|
46
|
-
"eslint-plugin-command": "npm:eslint-plugin-command@^3.
|
|
47
|
-
"eslint-plugin-depend": "npm:eslint-plugin-depend@^1.
|
|
48
|
-
"eslint-plugin-import-x": "npm:eslint-plugin-import-x@^4.16.
|
|
49
|
-
"eslint-plugin-jsdoc": "npm:eslint-plugin-jsdoc@^62.
|
|
50
|
-
"eslint-plugin-no-secrets": "npm:eslint-plugin-no-secrets@^2.
|
|
51
|
-
"eslint-plugin-perfectionist": "npm:eslint-plugin-perfectionist@^5.
|
|
47
|
+
"eslint-plugin-command": "npm:eslint-plugin-command@^3.5.2",
|
|
48
|
+
"eslint-plugin-depend": "npm:eslint-plugin-depend@^1.5.0",
|
|
49
|
+
"eslint-plugin-import-x": "npm:eslint-plugin-import-x@^4.16.2",
|
|
50
|
+
"eslint-plugin-jsdoc": "npm:eslint-plugin-jsdoc@^62.8.0",
|
|
51
|
+
"eslint-plugin-no-secrets": "npm:eslint-plugin-no-secrets@^2.3.3",
|
|
52
|
+
"eslint-plugin-perfectionist": "npm:eslint-plugin-perfectionist@^5.7.0",
|
|
52
53
|
"eslint-plugin-promise": "npm:eslint-plugin-promise@^7.2.1",
|
|
53
|
-
"eslint-plugin-react-dom": "npm:eslint-plugin-react-dom@^
|
|
54
|
-
"eslint-plugin-react-
|
|
55
|
-
"eslint-plugin-react-
|
|
56
|
-
"eslint-plugin-react-web-api": "npm:eslint-plugin-react-web-api@^
|
|
57
|
-
"eslint-plugin-react-x": "npm:eslint-plugin-react-x@^
|
|
54
|
+
"eslint-plugin-react-dom": "npm:eslint-plugin-react-dom@^3.0.0",
|
|
55
|
+
"eslint-plugin-react-naming-convention": "npm:eslint-plugin-react-naming-convention@^3.0.0",
|
|
56
|
+
"eslint-plugin-react-rsc": "npm:eslint-plugin-react-rsc@^3.0.0",
|
|
57
|
+
"eslint-plugin-react-web-api": "npm:eslint-plugin-react-web-api@^3.0.0",
|
|
58
|
+
"eslint-plugin-react-x": "npm:eslint-plugin-react-x@^3.0.0",
|
|
58
59
|
"eslint-plugin-redos": "npm:eslint-plugin-redos@^4.5.0",
|
|
59
|
-
"eslint-plugin-regexp": "npm:eslint-plugin-regexp@^
|
|
60
|
-
"eslint-plugin-security": "npm:eslint-plugin-security@^
|
|
61
|
-
"eslint-plugin-sonarjs": "npm:eslint-plugin-sonarjs@^
|
|
60
|
+
"eslint-plugin-regexp": "npm:eslint-plugin-regexp@^3.1.0",
|
|
61
|
+
"eslint-plugin-security": "npm:eslint-plugin-security@^4.0.0",
|
|
62
|
+
"eslint-plugin-sonarjs": "npm:eslint-plugin-sonarjs@^4.0.2",
|
|
62
63
|
"eslint-plugin-tailwindcss": "npm:eslint-plugin-tailwindcss@^4.0.0-beta.0",
|
|
63
|
-
"eslint-plugin-unicorn": "npm:eslint-plugin-unicorn@^
|
|
64
|
-
"globals": "npm:globals@^17.
|
|
64
|
+
"eslint-plugin-unicorn": "npm:eslint-plugin-unicorn@^63.0.0",
|
|
65
|
+
"globals": "npm:globals@^17.4.0",
|
|
65
66
|
"preact": "https://esm.sh/*preact@10.19.3?dev",
|
|
66
67
|
"preact/jsx-runtime": "https://esm.sh/*preact@10.19.3/jsx-runtime?dev"
|
|
67
68
|
},
|
|
@@ -69,5 +70,8 @@
|
|
|
69
70
|
"**/_fresh/*",
|
|
70
71
|
"./documentation"
|
|
71
72
|
],
|
|
72
|
-
"nodeModulesDir": "
|
|
73
|
+
"nodeModulesDir": "auto",
|
|
74
|
+
"allowScripts": [
|
|
75
|
+
"npm:unrs-resolver@1.11.1"
|
|
76
|
+
]
|
|
73
77
|
}
|