@msobiecki/eslint-config 9.4.0 → 9.5.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 +15 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
# [9.5.0](https://github.com/msobiecki/eslint-config/compare/v9.4.0...v9.5.0) (2025-10-20)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* update node ([821e1b8](https://github.com/msobiecki/eslint-config/commit/821e1b8595cdb79b7030e7b6fe1e5516ea87313d))
|
|
7
|
+
|
|
1
8
|
# [9.4.0](https://github.com/msobiecki/eslint-config/compare/v9.3.0...v9.4.0) (2025-10-20)
|
|
2
9
|
|
|
3
10
|
|
package/eslint.config.js
CHANGED
|
@@ -115,7 +115,18 @@ export const reactPreset = [
|
|
|
115
115
|
export const nodePreset = [
|
|
116
116
|
{
|
|
117
117
|
name: "Node.js",
|
|
118
|
-
files: ["**/*.{js,mjs,cjs
|
|
118
|
+
files: ["**/*.{js,mjs,cjs}"],
|
|
119
|
+
languageOptions: {
|
|
120
|
+
globals: {
|
|
121
|
+
...globals.node,
|
|
122
|
+
},
|
|
123
|
+
},
|
|
124
|
+
plugins: { n: nPlugin },
|
|
125
|
+
rules: { ...nPlugin.configs?.["flat/recommended"]?.rules, ...nodeRules },
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
name: "Node.js TypeScript",
|
|
129
|
+
files: ["**/*.{ts,cts,mts}"],
|
|
119
130
|
languageOptions: {
|
|
120
131
|
globals: {
|
|
121
132
|
...globals.node,
|
|
@@ -147,7 +158,7 @@ export const importPreset = [
|
|
|
147
158
|
files: ["**/*.{js,jsx,mjs,cjs}"],
|
|
148
159
|
plugins: { import: importPlugin },
|
|
149
160
|
rules: {
|
|
150
|
-
...importPlugin.
|
|
161
|
+
...importPlugin.flatConfigs?.recommended?.rules,
|
|
151
162
|
},
|
|
152
163
|
},
|
|
153
164
|
{
|
|
@@ -155,7 +166,8 @@ export const importPreset = [
|
|
|
155
166
|
files: ["**/*.{ts,tsx,mts,cts}"],
|
|
156
167
|
plugins: { import: importPlugin },
|
|
157
168
|
rules: {
|
|
158
|
-
...importPlugin.
|
|
169
|
+
...importPlugin.flatConfigs?.recommended?.rules,
|
|
170
|
+
...importPlugin.flatConfigs?.typescript?.rules,
|
|
159
171
|
},
|
|
160
172
|
},
|
|
161
173
|
];
|