@msobiecki/eslint-config 9.1.0 → 9.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/CHANGELOG.md +7 -0
- package/eslint.config.js +5 -1
- package/package.json +1 -1
- package/tests/eslint.config.js +3 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
# [9.2.0](https://github.com/msobiecki/eslint-config/compare/v9.1.0...v9.2.0) (2025-10-18)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* update node ([69e772a](https://github.com/msobiecki/eslint-config/commit/69e772a8332f00862e7cef1fd3d7cb0f6055a3ad))
|
|
7
|
+
|
|
1
8
|
# [9.1.0](https://github.com/msobiecki/eslint-config/compare/v9.0.0...v9.1.0) (2025-10-18)
|
|
2
9
|
|
|
3
10
|
|
package/eslint.config.js
CHANGED
|
@@ -115,6 +115,11 @@ export const nodePreset = [
|
|
|
115
115
|
{
|
|
116
116
|
name: "Node.js",
|
|
117
117
|
files: ["**/*.{js,mjs,cjs}"],
|
|
118
|
+
languageOptions: {
|
|
119
|
+
globals: {
|
|
120
|
+
...nPlugin.configs?.["flat/recommended"]?.languageOptions?.globals,
|
|
121
|
+
},
|
|
122
|
+
},
|
|
118
123
|
plugins: { n: nPlugin },
|
|
119
124
|
rules: { ...nPlugin.configs?.["flat/recommended"]?.rules, ...nodeRules },
|
|
120
125
|
},
|
|
@@ -164,7 +169,6 @@ export const jestPreset = [
|
|
|
164
169
|
languageOptions: {
|
|
165
170
|
globals: {
|
|
166
171
|
...jestPlugin.configs?.["flat/recommended"]?.languageOptions?.globals,
|
|
167
|
-
process: "readonly",
|
|
168
172
|
},
|
|
169
173
|
},
|
|
170
174
|
plugins: { jest: jestPlugin },
|
package/package.json
CHANGED
package/tests/eslint.config.js
CHANGED
|
@@ -2,12 +2,14 @@ import { defineConfig } from "eslint/config";
|
|
|
2
2
|
|
|
3
3
|
import {
|
|
4
4
|
basePreset,
|
|
5
|
-
|
|
5
|
+
nodePreset,
|
|
6
6
|
jestPreset,
|
|
7
|
+
bestPracticePreset,
|
|
7
8
|
} from "../eslint.config.js";
|
|
8
9
|
|
|
9
10
|
export default defineConfig([
|
|
10
11
|
...basePreset,
|
|
12
|
+
...nodePreset,
|
|
11
13
|
...jestPreset,
|
|
12
14
|
...bestPracticePreset,
|
|
13
15
|
]);
|