@leancodepl/eslint-config 9.5.1 → 9.5.2

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
@@ -3,6 +3,23 @@
3
3
  All notable changes to this project will be documented in this file. See
4
4
  [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [9.5.2](https://github.com/leancodepl/js_corelibrary/compare/v9.5.1...v9.5.2) (2025-08-13)
7
+
8
+ ### Bug Fixes
9
+
10
+ - packages linting
11
+ ([0141878](https://github.com/leancodepl/js_corelibrary/commit/014187861255ad5760062a6862e32b785758d4b7))
12
+
13
+ ### Features
14
+
15
+ - create resolveFlatConfig function
16
+ ([35b0fc2](https://github.com/leancodepl/js_corelibrary/commit/35b0fc2b108a23bfd20afa19133cb9e68f3cc9b4))
17
+
18
+ # Change Log
19
+
20
+ All notable changes to this project will be documented in this file. See
21
+ [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
22
+
6
23
  ## [9.5.1](https://github.com/leancodepl/js_corelibrary/compare/v9.5.0...v9.5.1) (2025-08-05)
7
24
 
8
25
  **Note:** Version bump only for package @leancodepl/eslint-config
package/README.md CHANGED
@@ -13,7 +13,7 @@ yarn add --dev @leancodepl/eslint-config
13
13
  ## Available Configurations
14
14
 
15
15
  - `base` - Core TypeScript rules with sorting and code quality
16
- - `baseReact` - React-specific rules and JSX formatting
16
+ - `baseReact` - React-specific rules and JSX formatting
17
17
  - `imports` - Import/export organization and unused import detection
18
18
  - `a11y` - Accessibility rules for React components
19
19
 
@@ -23,30 +23,25 @@ yarn add --dev @leancodepl/eslint-config
23
23
 
24
24
  ```javascript
25
25
  // eslint.config.js
26
- import { base, baseReact, imports, a11y } from '@leancodepl/eslint-config';
26
+ import { base, baseReact, imports, a11y } from "@leancodepl/eslint-config"
27
27
 
28
- export default [
29
- ...base,
30
- ...baseReact,
31
- ...imports,
32
- ...a11y,
33
- ];
28
+ export default [...base, ...baseReact, ...imports, ...a11y]
34
29
  ```
35
30
 
36
31
  ### Custom Rules
37
32
 
38
33
  ```javascript
39
34
  // eslint.config.js
40
- import { base, baseReact } from '@leancodepl/eslint-config';
35
+ import { base, baseReact } from "@leancodepl/eslint-config"
41
36
 
42
37
  export default [
43
38
  ...base,
44
39
  ...baseReact,
45
40
  {
46
41
  rules: {
47
- 'max-params': ['error', { max: 6 }],
48
- 'no-console': 'off',
42
+ "max-params": ["error", { max: 6 }],
43
+ "no-console": "off",
49
44
  },
50
45
  },
51
- ];
46
+ ]
52
47
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leancodepl/eslint-config",
3
- "version": "9.5.1",
3
+ "version": "9.5.2",
4
4
  "license": "Apache-2.0",
5
5
  "main": "src/index.js",
6
6
  "dependencies": {
package/src/index.js CHANGED
@@ -4,8 +4,8 @@ const baseReact = require("./lib/base-react")
4
4
  const imports = require("./lib/imports")
5
5
 
6
6
  module.exports = {
7
- imports,
8
- base,
9
- baseReact,
10
- a11y,
7
+ imports,
8
+ base,
9
+ baseReact,
10
+ a11y,
11
11
  }