@crycode/eslint-config 3.0.1 → 3.2.1

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/README.md CHANGED
@@ -20,21 +20,22 @@ npm install --save-dev typescript-eslint
20
20
  Add a file named `eslint.config.js` to your project root directory:
21
21
 
22
22
  ```js
23
+ import { defineConfig } from 'eslint/config';
23
24
  import crycode from '@crycode/eslint-config';
24
25
 
25
- export default [
26
+ export default defineConfig(
26
27
  ...crycode.configs.js,
27
28
  ...crycode.configs.stylistic,
28
- ];
29
+ );
29
30
  ```
30
31
 
31
32
  Or for TypeScript:
32
33
 
33
34
  ```ts
34
- import tseslint from 'typescript-eslint';
35
+ import { defineConfig } from 'eslint/config';
35
36
  import crycode from '@crycode/eslint-config';
36
37
 
37
- export default tseslint.config(
38
+ export default defineConfig(
38
39
  ...crycode.configs.ts,
39
40
  ...crycode.configs.stylistic,
40
41
  {
@@ -59,6 +60,15 @@ If you habe multiple tsconfig files, add them all to `project` array:
59
60
  Placeholder for the next version (at the beginning of the line):
60
61
  ### **WORK IN PROGRESS**
61
62
  -->
63
+ ### 3.2.1 (2026-06-17)
64
+
65
+ * Updated docs
66
+ * Updated dependencies
67
+
68
+ ### 3.1.0 (2026-02-20)
69
+
70
+ * Added config for `@stylistic/operator-linebreak` rule
71
+
62
72
  ### 3.0.1 (2026-02-20)
63
73
 
64
74
  * Fixed github npm release workflow
@@ -71,6 +71,16 @@ export default [
71
71
 
72
72
  '@stylistic/object-curly-spacing': [ 'warn', 'always' ],
73
73
 
74
+ '@stylistic/operator-linebreak': [
75
+ 'warn',
76
+ 'before',
77
+ {
78
+ overrides: {
79
+ '=': 'after',
80
+ },
81
+ },
82
+ ],
83
+
74
84
  '@stylistic/padded-blocks': 'off',
75
85
 
76
86
  '@stylistic/quote-props': [ 'warn', 'as-needed' ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crycode/eslint-config",
3
- "version": "3.0.1",
3
+ "version": "3.2.1",
4
4
  "description": "ESLint configuration to be used with JavaScript or TypeScript according to my personal preferences",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -33,7 +33,7 @@
33
33
  },
34
34
  "dependencies": {
35
35
  "@eslint/js": "^10.0.1",
36
- "@stylistic/eslint-plugin": "^5.9.0",
36
+ "@stylistic/eslint-plugin": "^5.10.0",
37
37
  "@stylistic/eslint-plugin-js": "^4.4.1"
38
38
  },
39
39
  "peerDependencies": {
@@ -41,9 +41,9 @@
41
41
  "typescript-eslint": "^8.56.0"
42
42
  },
43
43
  "devDependencies": {
44
- "@alcalzone/release-script": "^5.1.1",
45
- "@alcalzone/release-script-plugin-license": "^5.1.1",
46
- "@alcalzone/release-script-plugin-manual-review": "^5.1.1",
47
- "eslint": "^10.0.1"
44
+ "@alcalzone/release-script": "^5.2.1",
45
+ "@alcalzone/release-script-plugin-license": "^5.2.0",
46
+ "@alcalzone/release-script-plugin-manual-review": "^5.2.0",
47
+ "eslint": "^10.5.0"
48
48
  }
49
49
  }