@msobiecki/eslint-config 9.6.0 → 9.7.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/CHANGELOG.md +7 -0
- package/eslint.config.js +6 -10
- package/package.json +1 -1
- package/tests/eslint.config.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
# [9.7.0](https://github.com/msobiecki/eslint-config/compare/v9.6.0...v9.7.0) (2025-10-20)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* update node ([5e79fa6](https://github.com/msobiecki/eslint-config/commit/5e79fa6a4c6f0cb683274c7a8bc631d04df94628))
|
|
7
|
+
|
|
1
8
|
# [9.6.0](https://github.com/msobiecki/eslint-config/compare/v9.5.0...v9.6.0) (2025-10-20)
|
|
2
9
|
|
|
3
10
|
|
package/eslint.config.js
CHANGED
|
@@ -116,23 +116,23 @@ export const nodePreset = [
|
|
|
116
116
|
{
|
|
117
117
|
name: "Node.js",
|
|
118
118
|
files: ["**/*.{js,mjs,cjs}"],
|
|
119
|
+
plugins: { n: nPlugin },
|
|
119
120
|
languageOptions: {
|
|
120
121
|
globals: {
|
|
121
122
|
...globals.node,
|
|
122
123
|
},
|
|
123
124
|
},
|
|
124
|
-
plugins: { n: nPlugin },
|
|
125
125
|
rules: { ...nPlugin.configs?.["flat/recommended"]?.rules, ...nodeRules },
|
|
126
126
|
},
|
|
127
127
|
{
|
|
128
128
|
name: "Node.js TypeScript",
|
|
129
129
|
files: ["**/*.{ts,cts,mts}"],
|
|
130
|
+
plugins: { n: nPlugin },
|
|
130
131
|
languageOptions: {
|
|
131
132
|
globals: {
|
|
132
133
|
...globals.node,
|
|
133
134
|
},
|
|
134
135
|
},
|
|
135
|
-
plugins: { n: nPlugin },
|
|
136
136
|
rules: { ...nPlugin.configs?.["flat/recommended"]?.rules, ...nodeRules },
|
|
137
137
|
},
|
|
138
138
|
];
|
|
@@ -156,12 +156,10 @@ export const importPreset = [
|
|
|
156
156
|
{
|
|
157
157
|
name: "Import plugin",
|
|
158
158
|
files: ["**/*.{js,jsx,mjs,cjs}"],
|
|
159
|
+
plugins: { import: importPlugin },
|
|
159
160
|
languageOptions: {
|
|
160
|
-
|
|
161
|
-
...importPlugin.flatConfigs?.recommended?.languageOptions,
|
|
162
|
-
},
|
|
161
|
+
...importPlugin.flatConfigs?.recommended?.languageOptions,
|
|
163
162
|
},
|
|
164
|
-
plugins: { import: importPlugin },
|
|
165
163
|
rules: {
|
|
166
164
|
...importPlugin.flatConfigs?.recommended?.rules,
|
|
167
165
|
},
|
|
@@ -169,12 +167,10 @@ export const importPreset = [
|
|
|
169
167
|
{
|
|
170
168
|
name: "Import plugin TypeScript",
|
|
171
169
|
files: ["**/*.{ts,tsx,mts,cts}"],
|
|
170
|
+
plugins: { import: importPlugin },
|
|
172
171
|
languageOptions: {
|
|
173
|
-
|
|
174
|
-
...importPlugin.flatConfigs?.recommended?.languageOptions,
|
|
175
|
-
},
|
|
172
|
+
...importPlugin.flatConfigs?.recommended?.languageOptions,
|
|
176
173
|
},
|
|
177
|
-
plugins: { import: importPlugin },
|
|
178
174
|
rules: {
|
|
179
175
|
...importPlugin.flatConfigs?.recommended?.rules,
|
|
180
176
|
...importPlugin.flatConfigs?.typescript?.rules,
|
package/package.json
CHANGED