@msobiecki/eslint-config 9.2.0 → 9.4.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,49 +1,57 @@
1
- # [9.2.0](https://github.com/msobiecki/eslint-config/compare/v9.1.0...v9.2.0) (2025-10-18)
1
+ # [9.4.0](https://github.com/msobiecki/eslint-config/compare/v9.3.0...v9.4.0) (2025-10-20)
2
2
 
3
3
 
4
4
  ### Features
5
5
 
6
- * update node ([69e772a](https://github.com/msobiecki/eslint-config/commit/69e772a8332f00862e7cef1fd3d7cb0f6055a3ad))
6
+ * update node ([7274085](https://github.com/msobiecki/eslint-config/commit/72740857bf217a865145187e1745489f4cc66b73))
7
7
 
8
- # [9.1.0](https://github.com/msobiecki/eslint-config/compare/v9.0.0...v9.1.0) (2025-10-18)
8
+ # [9.3.0](https://github.com/msobiecki/eslint-config/compare/v9.2.0...v9.3.0) (2025-10-20)
9
9
 
10
10
 
11
11
  ### Features
12
12
 
13
- * update react ([39b0817](https://github.com/msobiecki/eslint-config/commit/39b08174581bb111db248f12b3938878cf91dcc8))
13
+ * update node ([79d2310](https://github.com/msobiecki/eslint-config/commit/79d231027fac6dd84f70fb56dd6ef0d920cb324f))
14
+ * update node ([5137a0f](https://github.com/msobiecki/eslint-config/commit/5137a0f5a267673a4d6dac32464cdd321d81f6a4))
14
15
 
15
- # [9.0.0](https://github.com/msobiecki/eslint-config/compare/v8.40.0...v9.0.0) (2025-10-18)
16
+ # [9.2.0](https://github.com/msobiecki/eslint-config/compare/v9.1.0...v9.2.0) (2025-10-18)
16
17
 
18
+ ### Features
17
19
 
18
- ### chore
20
+ - update node ([69e772a](https://github.com/msobiecki/eslint-config/commit/69e772a8332f00862e7cef1fd3d7cb0f6055a3ad))
21
+
22
+ # [9.1.0](https://github.com/msobiecki/eslint-config/compare/v9.0.0...v9.1.0) (2025-10-18)
19
23
 
20
- * **eslint:** update to ESLint 9 and migrate to flat config ([e0be675](https://github.com/msobiecki/eslint-config/commit/e0be67505419e761ea645b6aff484e495089d6ad))
24
+ ### Features
21
25
 
26
+ - update react ([39b0817](https://github.com/msobiecki/eslint-config/commit/39b08174581bb111db248f12b3938878cf91dcc8))
27
+
28
+ # [9.0.0](https://github.com/msobiecki/eslint-config/compare/v8.40.0...v9.0.0) (2025-10-18)
29
+
30
+ ### chore
31
+
32
+ - **eslint:** update to ESLint 9 and migrate to flat config ([e0be675](https://github.com/msobiecki/eslint-config/commit/e0be67505419e761ea645b6aff484e495089d6ad))
22
33
 
23
34
  ### BREAKING CHANGES
24
35
 
25
- * **eslint:** The ESLint configuration has been migrated to the new flat config.
36
+ - **eslint:** The ESLint configuration has been migrated to the new flat config.
26
37
 
27
38
  # [8.40.0](https://github.com/msobiecki/eslint-config/compare/v8.39.0...v8.40.0) (2025-10-18)
28
39
 
29
-
30
40
  ### Features
31
41
 
32
- * new breaking base ([bb815f3](https://github.com/msobiecki/eslint-config/commit/bb815f3cb572cb541ce96705112d72753d6d8dea))
42
+ - new breaking base ([bb815f3](https://github.com/msobiecki/eslint-config/commit/bb815f3cb572cb541ce96705112d72753d6d8dea))
33
43
 
34
44
  # [8.39.0](https://github.com/msobiecki/eslint-config/compare/v8.38.2...v8.39.0) (2025-10-18)
35
45
 
36
-
37
46
  ### Features
38
47
 
39
- * update Eslin9 ([#272](https://github.com/msobiecki/eslint-config/issues/272)) ([2d2763f](https://github.com/msobiecki/eslint-config/commit/2d2763f22deee8239a5aac9b67137a4adb07a685))
48
+ - update Eslin9 ([#272](https://github.com/msobiecki/eslint-config/issues/272)) ([2d2763f](https://github.com/msobiecki/eslint-config/commit/2d2763f22deee8239a5aac9b67137a4adb07a685))
40
49
 
41
50
  ## [8.38.2](https://github.com/msobiecki/eslint-config/compare/v8.38.1...v8.38.2) (2025-09-09)
42
51
 
43
-
44
52
  ### Bug Fixes
45
53
 
46
- * change glob ([8fb7352](https://github.com/msobiecki/eslint-config/commit/8fb7352bfb9a1704916481893fec4e3a87171e95))
54
+ - change glob ([8fb7352](https://github.com/msobiecki/eslint-config/commit/8fb7352bfb9a1704916481893fec4e3a87171e95))
47
55
 
48
56
  ## [8.38.1](https://github.com/msobiecki/eslint-config/compare/v8.38.0...v8.38.1) (2025-09-09)
49
57
 
package/eslint.config.js CHANGED
@@ -1,5 +1,6 @@
1
1
  import eslint from "@eslint/js";
2
2
  import tseslint from "typescript-eslint";
3
+ import globals from "globals";
3
4
 
4
5
  import reactBasePlugin from "eslint-plugin-react";
5
6
  import reactHooksPlugin from "eslint-plugin-react-hooks";
@@ -114,10 +115,10 @@ export const reactPreset = [
114
115
  export const nodePreset = [
115
116
  {
116
117
  name: "Node.js",
117
- files: ["**/*.{js,mjs,cjs}"],
118
+ files: ["**/*.{js,mjs,cjs,ts,cts,mts}"],
118
119
  languageOptions: {
119
120
  globals: {
120
- ...nPlugin.configs?.["flat/recommended"]?.languageOptions?.globals,
121
+ ...globals.node,
121
122
  },
122
123
  },
123
124
  plugins: { n: nPlugin },
@@ -168,7 +169,8 @@ export const jestPreset = [
168
169
  files: ["**/__tests__/**/*.[jt]s?(x)", "**/?(*.)+(spec|test).[jt]s?(x)"],
169
170
  languageOptions: {
170
171
  globals: {
171
- ...jestPlugin.configs?.["flat/recommended"]?.languageOptions?.globals,
172
+ ...globals.node,
173
+ ...globals.jest,
172
174
  },
173
175
  },
174
176
  plugins: { jest: jestPlugin },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@msobiecki/eslint-config",
3
- "version": "9.2.0",
3
+ "version": "9.4.0",
4
4
  "private": false,
5
5
  "description": "An ESLint shareable config for JavaScript/TypeScript ecosystem's.",
6
6
  "keywords": [
@@ -43,6 +43,7 @@
43
43
  "eslint-plugin-storybook": "^9.1.12",
44
44
  "eslint-plugin-testing-library": "^7.13.3",
45
45
  "eslint-plugin-unicorn": "^61.0.2",
46
+ "globals": "^16.4.0",
46
47
  "typescript-eslint": "^8.46.1"
47
48
  },
48
49
  "devDependencies": {