@pumpn/eslint-config 12.1.4 → 13.0.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/.tool-versions +1 -1
- package/config.js +8 -7
- package/deno.json +1 -1
- package/deno.lock +1129 -712
- package/import-map.json +14 -17
- package/package.json +17 -20
- package/patches/eslint-plugin-react/index.js +35743 -0
- package/plugins.js +9 -9
- package/rules/_exports.js +5 -5
- package/rules/github.js +1 -1
- package/rules/import-x/helpful-warnings.js +18 -0
- package/rules/import-x/module-systems.js +9 -0
- package/rules/{import → import-x}/static-analysis.js +15 -15
- package/rules/{import → import-x}/style-guide.js +17 -17
- package/rules/import-x.js +12 -0
- package/rules/jsdoc.js +45 -1
- package/rules/layout-and-formatting.js +1 -1
- package/rules/perfectionist.js +10 -1
- package/rules/react.js +1 -1
- package/rules/regexp/best-practices.js +1 -1
- package/rules/regexp/stylistic-issues.js +18 -6
- package/rules/stylistic/brackets.js +2 -2
- package/rules/stylistic/comments.js +2 -0
- package/rules/stylistic/jsx.js +1 -2
- package/rules/stylistic/linebreaks.js +1 -0
- package/rules/tailwindcss.js +2 -1
- package/rules/unicorn.js +9 -3
- package/rules/import/helpful-warnings.js +0 -18
- package/rules/import/module-systems.js +0 -9
- package/rules/import.js +0 -12
- /package/rules/{import → import-x}/_exports.js +0 -0
package/.tool-versions
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
nodejs
|
|
1
|
+
nodejs 22.2.0
|
package/config.js
CHANGED
|
@@ -53,13 +53,14 @@ const config = [
|
|
|
53
53
|
rules,
|
|
54
54
|
settings: {
|
|
55
55
|
formComponents: ["Form"],
|
|
56
|
-
"import/core-modules": [],
|
|
57
|
-
"import/extensions": [
|
|
56
|
+
"import-x/core-modules": [],
|
|
57
|
+
"import-x/extensions": [
|
|
58
58
|
".js",
|
|
59
59
|
".mjs",
|
|
60
60
|
".jsx"
|
|
61
61
|
],
|
|
62
|
-
"import/
|
|
62
|
+
"import-x/ignore": ["@turf/turf"],
|
|
63
|
+
"import-x/parsers": {
|
|
63
64
|
espree: [
|
|
64
65
|
".js",
|
|
65
66
|
".cjs",
|
|
@@ -121,8 +122,8 @@ const config = [
|
|
|
121
122
|
{
|
|
122
123
|
files: ["**/_exports.?(*.)js"],
|
|
123
124
|
rules: {
|
|
124
|
-
"import/max-dependencies": "off",
|
|
125
|
-
"import/prefer-default-export": "off"
|
|
125
|
+
"import-x/max-dependencies": "off",
|
|
126
|
+
"import-x/prefer-default-export": "off"
|
|
126
127
|
}
|
|
127
128
|
},
|
|
128
129
|
{
|
|
@@ -132,8 +133,8 @@ const config = [
|
|
|
132
133
|
"scripts/**/*"
|
|
133
134
|
],
|
|
134
135
|
rules: {
|
|
135
|
-
"import/no-unused-modules": "off",
|
|
136
|
-
"import/unambiguous": "off"
|
|
136
|
+
"import-x/no-unused-modules": "off",
|
|
137
|
+
"import-x/unambiguous": "off"
|
|
137
138
|
}
|
|
138
139
|
}
|
|
139
140
|
];
|