@pumpn/eslint-config 16.1.1 → 16.2.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 +2 -2
- package/deno.json +19 -15
- package/deno.lock +332 -1033
- package/package.json +18 -14
- package/plugins.js +16 -14
- package/rules/import-x/static-analysis.js +1 -1
- package/rules/jsdoc.js +75 -13
- package/rules/perfectionist.js +178 -55
- package/rules/react/core.js +24 -10
- package/rules/react/dom.js +4 -2
- package/rules/react/hooks-extra.js +1 -5
- package/rules/react/naming-convention.js +8 -3
- package/rules/sonarjs/bug-detection.js +0 -1
- package/rules/stylistic/jsx.js +0 -8
- package/rules/stylistic/spacing.js +1 -7
- package/rules/suggestions.js +1 -0
- package/rules/unicorn.js +8 -1
package/config.js
CHANGED
|
@@ -65,8 +65,7 @@ const config = defineConfig([
|
|
|
65
65
|
parser,
|
|
66
66
|
project: "./tsconfig.json",
|
|
67
67
|
requireConfigFile: false,
|
|
68
|
-
sourceType: "module"
|
|
69
|
-
tsconfigRootDir: "./"
|
|
68
|
+
sourceType: "module"
|
|
70
69
|
},
|
|
71
70
|
sourceType: "module"
|
|
72
71
|
},
|
|
@@ -113,6 +112,7 @@ const config = defineConfig([
|
|
|
113
112
|
},
|
|
114
113
|
"react-x": {
|
|
115
114
|
jsxPragma: "h",
|
|
115
|
+
polymorphicPropName: "as",
|
|
116
116
|
version: "18"
|
|
117
117
|
},
|
|
118
118
|
regexp: {
|
package/deno.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pumpn/eslint-config",
|
|
3
|
-
"version": "16.
|
|
3
|
+
"version": "16.2.0",
|
|
4
4
|
"exports": "./config.js",
|
|
5
5
|
"tasks": {
|
|
6
|
-
"lint": "deno
|
|
6
|
+
"lint": "deno x eslint",
|
|
7
7
|
"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",
|
|
8
8
|
"update-import-map": "deno run -A ./scripts/update-import-map.js",
|
|
9
9
|
"update-package-json": "deno run -A ./scripts/update-package-json.js",
|
|
@@ -37,27 +37,31 @@
|
|
|
37
37
|
]
|
|
38
38
|
},
|
|
39
39
|
"imports": {
|
|
40
|
-
"@eslint-community/eslint-plugin-eslint-comments": "npm:@eslint-community/eslint-plugin-eslint-comments@^4.
|
|
41
|
-
"@
|
|
42
|
-
"@
|
|
43
|
-
"@
|
|
44
|
-
"
|
|
45
|
-
"eslint": "npm:eslint@^9.33.0",
|
|
40
|
+
"@eslint-community/eslint-plugin-eslint-comments": "npm:@eslint-community/eslint-plugin-eslint-comments@^4.6.0",
|
|
41
|
+
"@std/path": "jsr:@std/path@^1.1.4",
|
|
42
|
+
"@stylistic/eslint-plugin": "npm:@stylistic/eslint-plugin@^5.7.0",
|
|
43
|
+
"@typescript-eslint/parser": "npm:@typescript-eslint/parser@^8.53.0",
|
|
44
|
+
"eslint": "npm:eslint@^9.39.2",
|
|
46
45
|
"eslint-import-resolver-typescript": "npm:eslint-import-resolver-typescript@^4.4.4",
|
|
47
|
-
"eslint-plugin-command": "npm:eslint-plugin-command@^3.
|
|
48
|
-
"eslint-plugin-depend": "npm:eslint-plugin-depend@^1.
|
|
46
|
+
"eslint-plugin-command": "npm:eslint-plugin-command@^3.4.0",
|
|
47
|
+
"eslint-plugin-depend": "npm:eslint-plugin-depend@^1.4.0",
|
|
49
48
|
"eslint-plugin-import-x": "npm:eslint-plugin-import-x@^4.16.1",
|
|
50
|
-
"eslint-plugin-jsdoc": "npm:eslint-plugin-jsdoc@^
|
|
49
|
+
"eslint-plugin-jsdoc": "npm:eslint-plugin-jsdoc@^62.1.0",
|
|
51
50
|
"eslint-plugin-no-secrets": "npm:eslint-plugin-no-secrets@^2.2.1",
|
|
52
|
-
"eslint-plugin-perfectionist": "npm:eslint-plugin-perfectionist@^
|
|
51
|
+
"eslint-plugin-perfectionist": "npm:eslint-plugin-perfectionist@^5.3.1",
|
|
53
52
|
"eslint-plugin-promise": "npm:eslint-plugin-promise@^7.2.1",
|
|
53
|
+
"eslint-plugin-react-dom": "npm:eslint-plugin-react-dom@^2.7.2",
|
|
54
|
+
"eslint-plugin-react-hooks-extra": "npm:eslint-plugin-react-hooks-extra@^2.7.2",
|
|
55
|
+
"eslint-plugin-react-naming-convention": "npm:eslint-plugin-react-naming-convention@^2.7.2",
|
|
56
|
+
"eslint-plugin-react-web-api": "npm:eslint-plugin-react-web-api@^2.7.2",
|
|
57
|
+
"eslint-plugin-react-x": "npm:eslint-plugin-react-x@^2.7.2",
|
|
54
58
|
"eslint-plugin-redos": "npm:eslint-plugin-redos@^4.5.0",
|
|
55
59
|
"eslint-plugin-regexp": "npm:eslint-plugin-regexp@^2.10.0",
|
|
56
60
|
"eslint-plugin-security": "npm:eslint-plugin-security@^3.0.1",
|
|
57
|
-
"eslint-plugin-sonarjs": "npm:eslint-plugin-sonarjs@^3.0.
|
|
61
|
+
"eslint-plugin-sonarjs": "npm:eslint-plugin-sonarjs@^3.0.5",
|
|
58
62
|
"eslint-plugin-tailwindcss": "npm:eslint-plugin-tailwindcss@^4.0.0-beta.0",
|
|
59
|
-
"eslint-plugin-unicorn": "npm:eslint-plugin-unicorn@^
|
|
60
|
-
"globals": "npm:globals@^
|
|
63
|
+
"eslint-plugin-unicorn": "npm:eslint-plugin-unicorn@^62.0.0",
|
|
64
|
+
"globals": "npm:globals@^17.0.0",
|
|
61
65
|
"preact": "https://esm.sh/*preact@10.19.3?dev",
|
|
62
66
|
"preact/jsx-runtime": "https://esm.sh/*preact@10.19.3/jsx-runtime?dev"
|
|
63
67
|
},
|