@ringieraxelspringer/eslint-config 24.1.1 → 24.2.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 +59 -52
- package/lib/index.js +1 -0
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,24 +1,31 @@
|
|
|
1
1
|
# CHANGELOG
|
|
2
|
-
|
|
3
2
|
The format is based on [Keep a Changelog](https://keepachangelog.com/), and this project adheres to [Semantic Versioning](https://semver.org/).
|
|
4
3
|
|
|
5
|
-
##
|
|
4
|
+
## 24.2.0 - 2025-09-26
|
|
5
|
+
### Added
|
|
6
|
+
- [@mdulawa]: Added support for Node v24.
|
|
7
|
+
|
|
8
|
+
## 24.1.2 - 2025-01-03
|
|
9
|
+
### Removed
|
|
10
|
+
- [@mdulawa]: Disabled `react/react-in-jsx-scope` rule of `eslint-plugin-react`.
|
|
11
|
+
|
|
12
|
+
## 24.1.1 - 2024-11-14
|
|
6
13
|
### Added
|
|
7
14
|
- [@gheprovider]: GitHub Actions.
|
|
8
15
|
|
|
9
|
-
##
|
|
16
|
+
## 24.1.0 - 2024-10-31
|
|
10
17
|
### Added
|
|
11
18
|
- [@mdulawa]: Added support for Node v22.
|
|
12
19
|
|
|
13
|
-
##
|
|
20
|
+
## 24.0.2 - 2024-10-17
|
|
14
21
|
### Changed
|
|
15
22
|
- [@gwozniak]: Disabled `n/no-missing-import` rule of `eslint-plugin-n`.
|
|
16
23
|
|
|
17
|
-
##
|
|
24
|
+
## 24.0.1 - 2024-09-20
|
|
18
25
|
### Changed
|
|
19
|
-
- [@pniewiejski]: Disable `n/no-process-exit` rule of `eslint-plugin-n` to be
|
|
26
|
+
- [@pniewiejski]: Disable `n/no-process-exit` rule of `eslint-plugin-n` to be consistent with the existing setting of `no-process-exit`.
|
|
20
27
|
|
|
21
|
-
##
|
|
28
|
+
## 24.0.0 - 2024-09-13
|
|
22
29
|
### Changed
|
|
23
30
|
- [@mdulawa]: Replaced deprecated plugin `eslint-plugin-node` with `eslint-plugin-n`.
|
|
24
31
|
- [@mdulawa]: Replaced deprecated rule `global-require` with `n/global-require`.
|
|
@@ -30,105 +37,105 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/), and this
|
|
|
30
37
|
- [@mdulawa]: Dropped support for Node v16.
|
|
31
38
|
- [@mdulawa]: Dropped support for Node v14.
|
|
32
39
|
|
|
33
|
-
##
|
|
40
|
+
## 23.0.0 - 2023-10-24
|
|
34
41
|
### Added
|
|
35
42
|
- [@mdulawa]: Added support for Node v20.
|
|
36
43
|
|
|
37
44
|
### Removed
|
|
38
45
|
- [@mdulawa]: Dropped support for Node v12.
|
|
39
46
|
|
|
40
|
-
##
|
|
47
|
+
## 22.0.1 - 2023-05-30
|
|
41
48
|
### Fixed
|
|
42
49
|
- [@mdulawa]: Fixed ECMA version after removal of default parser `@babel/eslint-parser`.
|
|
43
50
|
|
|
44
|
-
##
|
|
51
|
+
## 22.0.0 - 2023-05-26
|
|
45
52
|
### Removed
|
|
46
53
|
- [@kpiatek2]: Removed default parser `@babel/eslint-parser`.
|
|
47
54
|
|
|
48
|
-
##
|
|
55
|
+
## 21.0.0 - 2023-04-25
|
|
49
56
|
### Added
|
|
50
57
|
- [@mkuranda]: Added [jsx-tag-spacing](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules/jsx-tag-spacing.md) rule.
|
|
51
58
|
|
|
52
|
-
##
|
|
59
|
+
## 20.0.1 - 2023-03-27
|
|
53
60
|
### Fixed
|
|
54
61
|
- [@mkasprzyk]: Added `PascalCase` to `naming-convention` rule values.
|
|
55
62
|
|
|
56
|
-
##
|
|
63
|
+
## 20.0.0 - 2023-02-09
|
|
57
64
|
### Added
|
|
58
65
|
- [@mwoloszyn]: Added [camelcase](https://eslint.org/docs/latest/rules/camelcase) rule.
|
|
59
66
|
- [@mwoloszyn]: Added [@typescript-eslint/naming-convention](https://typescript-eslint.io/rules/naming-convention) rule.
|
|
60
67
|
|
|
61
|
-
##
|
|
68
|
+
## 19.0.0 - 2023-01-14
|
|
62
69
|
### Added
|
|
63
70
|
- [@mdulawa]: Added [dot-location](https://eslint.org/docs/latest/rules/dot-location) rule.
|
|
64
71
|
- [@mdulawa]: Added [dot-notation](https://eslint.org/docs/latest/rules/dot-notation) rule.
|
|
65
72
|
|
|
66
|
-
##
|
|
73
|
+
## 18.0.0 - 2022-11-18
|
|
67
74
|
### Added
|
|
68
75
|
- [@mdulawa]: Added [no-implicit-coercion](https://eslint.org/docs/latest/rules/no-implicit-coercion) rule.
|
|
69
76
|
|
|
70
|
-
##
|
|
77
|
+
## 17.1.0 - 2022-10-26
|
|
71
78
|
### Added
|
|
72
79
|
- [@pbizon]: Added support for Node v18.
|
|
73
80
|
|
|
74
|
-
##
|
|
81
|
+
## 17.0.0 - 2022-07-14
|
|
75
82
|
### Added
|
|
76
83
|
- [@mkuranda]: Added [@typescript-eslint/space-infix-ops](https://typescript-eslint.io/rules/space-infix-ops) rule.
|
|
77
84
|
|
|
78
|
-
##
|
|
85
|
+
## 16.0.0 - 2022-06-09
|
|
79
86
|
### Added
|
|
80
87
|
- [@mdulawa]: Added [max-statements-per-line](https://eslint.org/docs/rules/max-statements-per-line) rule.
|
|
81
88
|
|
|
82
|
-
##
|
|
89
|
+
## 15.0.0 - 2022-06-01
|
|
83
90
|
### Added
|
|
84
91
|
- [@mkasprzyk]: Added `max-classes-per-file` rule.
|
|
85
92
|
|
|
86
|
-
##
|
|
93
|
+
## 14.0.0 - 2022-05-20
|
|
87
94
|
### Fixed
|
|
88
95
|
- [@mdulawa]: Rule `padding-line-between-statements`: Don't need blank line before `default` in `switch` construction.
|
|
89
96
|
|
|
90
|
-
##
|
|
97
|
+
## 13.0.0 - 2022-02-22
|
|
91
98
|
### Added
|
|
92
99
|
- [@mdulawa]: Added support for Node v16.
|
|
93
100
|
|
|
94
101
|
### Changed
|
|
95
102
|
- [@mdulawa]: Bumped version of `eslint` and `@typescript-eslint`.
|
|
96
103
|
|
|
97
|
-
##
|
|
104
|
+
## 12.0.0 - 2021-12-06
|
|
98
105
|
### Added
|
|
99
106
|
- [@mdulawa]: Added `semi-spacing` rule.
|
|
100
107
|
|
|
101
108
|
### Removed
|
|
102
109
|
- [@mdulawa]: Dropped support for Node v10.
|
|
103
110
|
|
|
104
|
-
##
|
|
111
|
+
## 11.0.0 - 2021-11-12
|
|
105
112
|
### Added
|
|
106
113
|
- [@pniewiejski]: Added `@typescript-eslint/semi` rule.
|
|
107
114
|
|
|
108
|
-
##
|
|
115
|
+
## 10.0.1 - 2021-09-01
|
|
109
116
|
### Fixed
|
|
110
117
|
- [@tzachara]: Fixed override rule `@typescript-eslint/type-annotation-spacing` for arrow type definitions.
|
|
111
118
|
|
|
112
|
-
##
|
|
119
|
+
## 10.0.0 - 2021-08-24
|
|
113
120
|
### Added
|
|
114
121
|
- [@tzachara]: Added `@typescript-eslint/member-delimiter-style` rule.
|
|
115
122
|
- [@tzachara]: Added `@typescript-eslint/type-annotation-spacing` rule.
|
|
116
123
|
|
|
117
|
-
##
|
|
124
|
+
## 9.0.0 - 2021-06-25
|
|
118
125
|
### Added
|
|
119
126
|
- [@pbizon]: Added `multiline-ternary` rule.
|
|
120
127
|
- [@pbizon]: Added `operator-linebreak` rule.
|
|
121
128
|
|
|
122
|
-
##
|
|
129
|
+
## 8.0.0 - 2021-06-24
|
|
123
130
|
### Added
|
|
124
131
|
- [@mdulawa]: Added `padded-blocks` rule.
|
|
125
132
|
|
|
126
|
-
##
|
|
133
|
+
## 7.0.1 - 2021-06-18
|
|
127
134
|
### Fixed
|
|
128
135
|
- [@jbienkowski2]: Remove `@typescript-eslint/prefer-nullish-coalescing` rule as it requires additional TypeScript parser options which may not work for some projects.
|
|
129
136
|
- [@jbienkowski2]: Remove `@typescript-eslint/prefer-readonly` rule as it requires additional TypeScript parser options which may not work for some projects.
|
|
130
137
|
|
|
131
|
-
##
|
|
138
|
+
## 7.0.0 - 2021-06-16
|
|
132
139
|
### Added
|
|
133
140
|
- [@jbienkowski2]: Added `@typescript-eslint/explicit-function-return-type` rule.
|
|
134
141
|
- [@jbienkowski2]: Added `@typescript-eslint/explicit-member-accessibility` rule.
|
|
@@ -137,106 +144,106 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/), and this
|
|
|
137
144
|
- [@jbienkowski2]: Added `@typescript-eslint/prefer-readonly` rule.
|
|
138
145
|
- [@jbienkowski2]: Added `@typescript-eslint/prefer-ts-expect-error` rule.
|
|
139
146
|
|
|
140
|
-
##
|
|
147
|
+
## 6.0.2 - 2021-06-14
|
|
141
148
|
### Fixed
|
|
142
149
|
- [@mwieczorkiewicz]: Added new `padding-line-between-statements` condition for `case` statements in order to avoid conflict with `no-fallthrough` rule.
|
|
143
150
|
|
|
144
|
-
##
|
|
151
|
+
## 6.0.1 - 2021-04-21
|
|
145
152
|
### Changed
|
|
146
153
|
- [@mdulawa]: Switched to `@babel/eslint-parser`.
|
|
147
154
|
|
|
148
|
-
##
|
|
155
|
+
## 6.0.0 - 2021-01-28
|
|
149
156
|
### Added
|
|
150
157
|
- [@mkasprzyk]: Added `key-spacing` rule.
|
|
151
158
|
- [@mkasprzyk]: Added `prefer-template` rule.
|
|
152
159
|
- [@mkasprzyk]: Added `require-atomic-updates` rule.
|
|
153
160
|
|
|
154
|
-
##
|
|
161
|
+
## 5.0.1 - 2021-01-28
|
|
155
162
|
### Fixed
|
|
156
163
|
- [@mdulawa]: Tuned `eslint-plugin-node` rules for TypeScript.
|
|
157
164
|
|
|
158
|
-
##
|
|
165
|
+
## 5.0.0 - 2021-01-25
|
|
159
166
|
### Added
|
|
160
167
|
- [@mdulawa]: Added `eslint-plugin-node` plugin because of deprecation of Node rules in ESLint core.
|
|
161
168
|
|
|
162
|
-
##
|
|
169
|
+
## 4.0.0 - 2020-12-31
|
|
163
170
|
### Added
|
|
164
171
|
- [@jbienkowski2]: Added `prefer-arrow-callback` rule.
|
|
165
172
|
|
|
166
|
-
##
|
|
173
|
+
## 3.3.0 - 2020-12-15
|
|
167
174
|
### Changed
|
|
168
175
|
- [@mdulawa]: Tested on Node v14.
|
|
169
176
|
|
|
170
|
-
##
|
|
177
|
+
## 3.2.0 - 2020-12-10
|
|
171
178
|
### Added
|
|
172
179
|
- [@mkorus]: Added `eslint-plugin-react-hooks`.
|
|
173
180
|
|
|
174
|
-
##
|
|
181
|
+
## 3.1.0 - 2020-12-02
|
|
175
182
|
### Changed
|
|
176
183
|
- [@mdulawa]: Detect React version.
|
|
177
184
|
|
|
178
|
-
##
|
|
185
|
+
## 3.0.0 - 2020-11-27
|
|
179
186
|
### Added
|
|
180
187
|
- [@mkasprzyk]: Added `require-await` and `yoda` rules.
|
|
181
188
|
|
|
182
189
|
### Changed
|
|
183
190
|
- [@mkasprzyk]: Added new padding lines before statements in `padding-line-between-statements` rule.
|
|
184
191
|
|
|
185
|
-
##
|
|
192
|
+
## 2.0.0 - 2020-10-05
|
|
186
193
|
### Changed
|
|
187
194
|
- [@mdulawa]: Renamed to `@ringieraxelspringer/eslint-config`.
|
|
188
195
|
|
|
189
|
-
##
|
|
196
|
+
## 1.9.0 - 2020-09-24
|
|
190
197
|
### Added
|
|
191
198
|
- [@kpiatek2]: Added `space-in-parens` rule.
|
|
192
199
|
- [@kpiatek2]: Bumped version `@typescript-eslint/eslint-plugin`, `@typescript-eslint/parser`, `eslint`, `eslint-plugin-react`, `typescript`.
|
|
193
200
|
|
|
194
|
-
##
|
|
201
|
+
## 1.8.0 - 2020-09-10
|
|
195
202
|
### Changed
|
|
196
203
|
- [@mdulawa]: Bumped version of `@typescript-eslint`.
|
|
197
204
|
- [@mdulawa]: Added compare links to changelog.
|
|
198
205
|
|
|
199
|
-
##
|
|
206
|
+
## 1.7.0 - 2020-07-28
|
|
200
207
|
### Changed
|
|
201
208
|
- [@mdulawa]: Bumped version of `eslint` and `@typescript-eslint`.
|
|
202
209
|
|
|
203
|
-
##
|
|
210
|
+
## 1.6.0 - 2020-07-09
|
|
204
211
|
### Added
|
|
205
212
|
- [@kpiatek2]: Added `quote-props`, `linebreak-style` rules.
|
|
206
213
|
- [@kpiatek2]: Added eslint scripts to package.json.
|
|
207
214
|
- [@kpiatek2]: Use eslint by himself.
|
|
208
215
|
|
|
209
|
-
##
|
|
216
|
+
## 1.5.0 - 2020-05-22
|
|
210
217
|
### Added
|
|
211
218
|
- [@pbizon]: Added `quote-props`, `linebreak-style` rules.
|
|
212
219
|
|
|
213
|
-
##
|
|
220
|
+
## 1.4.0 - 2020-04-17
|
|
214
221
|
### Added
|
|
215
222
|
- [@mdulawa]: Enabled `eol-last` rule.
|
|
216
223
|
|
|
217
224
|
### Changed
|
|
218
225
|
- [@mdulawa]: Changed `no-multiple-empty-lines` rule.
|
|
219
226
|
|
|
220
|
-
##
|
|
227
|
+
## 1.3.0 - 2020-03-30
|
|
221
228
|
### Added
|
|
222
229
|
- [@mdulawa]: Enabled `no-buffer-constructor` rule.
|
|
223
230
|
|
|
224
|
-
##
|
|
231
|
+
## 1.2.0 - 2020-03-13
|
|
225
232
|
### Changed
|
|
226
233
|
- [@mdulawa]: Disabled `no-magic-numbers` rule.
|
|
227
234
|
|
|
228
|
-
##
|
|
235
|
+
## 1.1.1 - 2020-02-12
|
|
229
236
|
### Changed
|
|
230
237
|
- [@alacki]: Changed `no-alert`, `no-console` rules.
|
|
231
238
|
|
|
232
|
-
##
|
|
239
|
+
## 1.1.0 - 2020-01-21
|
|
233
240
|
### Changed
|
|
234
241
|
- [@mmitis]: Changed `comma-dangle` rule.
|
|
235
242
|
|
|
236
|
-
##
|
|
243
|
+
## 1.0.1 - 2020-01-08
|
|
237
244
|
### Added
|
|
238
245
|
- [@mdulawa]: Added `reportUnusedDisableDirectives: true` option.
|
|
239
246
|
|
|
240
|
-
##
|
|
247
|
+
## 1.0.0 - 2019-12-13
|
|
241
248
|
### Added
|
|
242
249
|
- [@mdulawa]: Initial version.
|
package/lib/index.js
CHANGED
|
@@ -110,6 +110,7 @@ module.exports = {
|
|
|
110
110
|
'react/jsx-curly-spacing': ['error', 'never', { allowMultiline: false }],
|
|
111
111
|
'react/jsx-max-props-per-line': ['error', { maximum: 3 }],
|
|
112
112
|
'react/jsx-tag-spacing': ['error', { beforeSelfClosing: 'always' }],
|
|
113
|
+
'react/react-in-jsx-scope': 'off',
|
|
113
114
|
'react/self-closing-comp': 'error',
|
|
114
115
|
'react/sort-comp': 'error'
|
|
115
116
|
},
|
package/package.json
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ringieraxelspringer/eslint-config",
|
|
3
|
-
"version": "24.1.1",
|
|
4
3
|
"description": "Common Ringier Axel Springer ESLint configuration",
|
|
5
4
|
"license": "MIT",
|
|
6
5
|
"repository": {},
|
|
7
6
|
"main": "lib/index.js",
|
|
8
7
|
"engines": {
|
|
9
|
-
"node": "^18||^20||^22"
|
|
8
|
+
"node": "^18||^20||^22||^24"
|
|
10
9
|
},
|
|
11
10
|
"scripts": {
|
|
12
11
|
"lint": "npm run lint:js",
|
|
@@ -25,5 +24,6 @@
|
|
|
25
24
|
},
|
|
26
25
|
"eslintConfig": {
|
|
27
26
|
"extends": "./lib/index.js"
|
|
28
|
-
}
|
|
27
|
+
},
|
|
28
|
+
"version": "24.2.0"
|
|
29
29
|
}
|