@msobiecki/eslint-config 9.5.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 CHANGED
@@ -1,3 +1,17 @@
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
+
8
+ # [9.6.0](https://github.com/msobiecki/eslint-config/compare/v9.5.0...v9.6.0) (2025-10-20)
9
+
10
+
11
+ ### Features
12
+
13
+ * update node ([9e695a8](https://github.com/msobiecki/eslint-config/commit/9e695a84a3fd28d11c97ed778c9e490644ff4b90))
14
+
1
15
  # [9.5.0](https://github.com/msobiecki/eslint-config/compare/v9.4.0...v9.5.0) (2025-10-20)
2
16
 
3
17
 
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
  ];
@@ -157,6 +157,9 @@ export const importPreset = [
157
157
  name: "Import plugin",
158
158
  files: ["**/*.{js,jsx,mjs,cjs}"],
159
159
  plugins: { import: importPlugin },
160
+ languageOptions: {
161
+ ...importPlugin.flatConfigs?.recommended?.languageOptions,
162
+ },
160
163
  rules: {
161
164
  ...importPlugin.flatConfigs?.recommended?.rules,
162
165
  },
@@ -165,10 +168,16 @@ export const importPreset = [
165
168
  name: "Import plugin TypeScript",
166
169
  files: ["**/*.{ts,tsx,mts,cts}"],
167
170
  plugins: { import: importPlugin },
171
+ languageOptions: {
172
+ ...importPlugin.flatConfigs?.recommended?.languageOptions,
173
+ },
168
174
  rules: {
169
175
  ...importPlugin.flatConfigs?.recommended?.rules,
170
176
  ...importPlugin.flatConfigs?.typescript?.rules,
171
177
  },
178
+ settings: {
179
+ ...importPlugin.flatConfigs?.typescript?.settings,
180
+ },
172
181
  },
173
182
  ];
174
183
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@msobiecki/eslint-config",
3
- "version": "9.5.0",
3
+ "version": "9.7.0",
4
4
  "private": false,
5
5
  "description": "An ESLint shareable config for JavaScript/TypeScript ecosystem's.",
6
6
  "keywords": [
@@ -9,7 +9,7 @@ import {
9
9
 
10
10
  export default defineConfig([
11
11
  ...basePreset,
12
+ ...bestPracticePreset,
12
13
  ...nodePreset,
13
14
  ...jestPreset,
14
- ...bestPracticePreset,
15
15
  ]);