@crycode/eslint-config 2.2.1 → 3.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/README.md +14 -1
- package/configs/stylistic.js +12 -2
- package/package.json +10 -10
package/README.md
CHANGED
|
@@ -59,6 +59,19 @@ If you habe multiple tsconfig files, add them all to `project` array:
|
|
|
59
59
|
Placeholder for the next version (at the beginning of the line):
|
|
60
60
|
### **WORK IN PROGRESS**
|
|
61
61
|
-->
|
|
62
|
+
### 3.1.0 (2026-02-20)
|
|
63
|
+
|
|
64
|
+
* Added config for `@stylistic/operator-linebreak` rule
|
|
65
|
+
|
|
66
|
+
### 3.0.1 (2026-02-20)
|
|
67
|
+
|
|
68
|
+
* Fixed github npm release workflow
|
|
69
|
+
|
|
70
|
+
### 3.0.0 (2026-02-20)
|
|
71
|
+
|
|
72
|
+
* Updated to latest `eslint` **10** and `typescript-eslint`
|
|
73
|
+
* Updated deprecated configs for their latest options
|
|
74
|
+
|
|
62
75
|
### 2.2.1 (2025-05-02)
|
|
63
76
|
|
|
64
77
|
* Updated to latest `eslint` and `typescript-eslint`
|
|
@@ -132,7 +145,7 @@ If you habe multiple tsconfig files, add them all to `project` array:
|
|
|
132
145
|
|
|
133
146
|
MIT License
|
|
134
147
|
|
|
135
|
-
Copyright (c) 2021-
|
|
148
|
+
Copyright (c) 2021-2026 Peter Müller <peter@crycode.de>
|
|
136
149
|
|
|
137
150
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
138
151
|
of this software and associated documentation files (the "Software"), to deal
|
package/configs/stylistic.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import stylistic from '@stylistic/eslint-plugin';
|
|
2
2
|
|
|
3
3
|
export default [
|
|
4
|
-
stylistic.configs['recommended
|
|
4
|
+
stylistic.configs['recommended'],
|
|
5
5
|
{
|
|
6
6
|
|
|
7
7
|
plugins: {
|
|
@@ -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' ],
|
|
@@ -80,7 +90,7 @@ export default [
|
|
|
80
90
|
'single',
|
|
81
91
|
{
|
|
82
92
|
avoidEscape: true,
|
|
83
|
-
allowTemplateLiterals:
|
|
93
|
+
allowTemplateLiterals: 'always',
|
|
84
94
|
},
|
|
85
95
|
],
|
|
86
96
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crycode/eslint-config",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.1.0",
|
|
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",
|
|
@@ -32,18 +32,18 @@
|
|
|
32
32
|
"url": "https://github.com/crycode-de/eslint-config.git"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@eslint/js": "^
|
|
36
|
-
"@stylistic/eslint-plugin": "^
|
|
37
|
-
"@stylistic/eslint-plugin-js": "^4.
|
|
35
|
+
"@eslint/js": "^10.0.1",
|
|
36
|
+
"@stylistic/eslint-plugin": "^5.9.0",
|
|
37
|
+
"@stylistic/eslint-plugin-js": "^4.4.1"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
40
|
-
"eslint": "^
|
|
41
|
-
"typescript-eslint": "^8.
|
|
40
|
+
"eslint": "^10.0.1",
|
|
41
|
+
"typescript-eslint": "^8.56.0"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@alcalzone/release-script": "^
|
|
45
|
-
"@alcalzone/release-script-plugin-license": "^
|
|
46
|
-
"@alcalzone/release-script-plugin-manual-review": "^
|
|
47
|
-
"eslint": "^
|
|
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"
|
|
48
48
|
}
|
|
49
49
|
}
|