@msobiecki/eslint-config 8.40.0 → 9.1.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 +19 -0
- package/README.md +1 -3
- package/eslint.config.js +2 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,22 @@
|
|
|
1
|
+
# [9.1.0](https://github.com/msobiecki/eslint-config/compare/v9.0.0...v9.1.0) (2025-10-18)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* update react ([39b0817](https://github.com/msobiecki/eslint-config/commit/39b08174581bb111db248f12b3938878cf91dcc8))
|
|
7
|
+
|
|
8
|
+
# [9.0.0](https://github.com/msobiecki/eslint-config/compare/v8.40.0...v9.0.0) (2025-10-18)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### chore
|
|
12
|
+
|
|
13
|
+
* **eslint:** update to ESLint 9 and migrate to flat config ([e0be675](https://github.com/msobiecki/eslint-config/commit/e0be67505419e761ea645b6aff484e495089d6ad))
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### BREAKING CHANGES
|
|
17
|
+
|
|
18
|
+
* **eslint:** The ESLint configuration has been migrated to the new flat config.
|
|
19
|
+
|
|
1
20
|
# [8.40.0](https://github.com/msobiecki/eslint-config/compare/v8.39.0...v8.40.0) (2025-10-18)
|
|
2
21
|
|
|
3
22
|
|
package/README.md
CHANGED
|
@@ -24,7 +24,7 @@ npm install --save-dev eslint prettier typescript
|
|
|
24
24
|
|
|
25
25
|
## Usage
|
|
26
26
|
|
|
27
|
-
To use this ESLint configuration, you need to extend it in your project's `eslint.config.js` file:
|
|
27
|
+
To use this ESLint Flat Config configuration, you need to extend it in your project's `eslint.config.js` file:
|
|
28
28
|
|
|
29
29
|
### base javascript/typescript configuration
|
|
30
30
|
|
|
@@ -38,7 +38,6 @@ export default defineConfig([
|
|
|
38
38
|
]);
|
|
39
39
|
```
|
|
40
40
|
|
|
41
|
-
|
|
42
41
|
### best practice configuration
|
|
43
42
|
|
|
44
43
|
```javascript
|
|
@@ -111,7 +110,6 @@ export default defineConfig([
|
|
|
111
110
|
]);
|
|
112
111
|
```
|
|
113
112
|
|
|
114
|
-
|
|
115
113
|
### storybook configuration
|
|
116
114
|
|
|
117
115
|
```javascript
|
package/eslint.config.js
CHANGED
|
@@ -99,7 +99,8 @@ export const reactPreset = [
|
|
|
99
99
|
parserOptions: { ecmaFeatures: { jsx: true } },
|
|
100
100
|
},
|
|
101
101
|
rules: {
|
|
102
|
-
...reactBasePlugin.configs?.recommended?.rules,
|
|
102
|
+
...reactBasePlugin.configs?.flat?.recommended?.rules,
|
|
103
|
+
...reactBasePlugin.configs?.flat?.["jsx-runtime"]?.rules,
|
|
103
104
|
...reactHooksPlugin.configs?.flat?.recommended?.rules,
|
|
104
105
|
...jsxA11yPlugin.configs?.recommended?.rules,
|
|
105
106
|
},
|