]> git.proxmox.com Git - pve-eslint.git/blob - debian/changelog
656a22cd6e1c9bcbafa7d3e69f505ee54f5dde56
[pve-eslint.git] / debian / changelog
1 pve-eslint (8.41.0-2) bookworm; urgency=medium
2
3 * re-build for Debian 12 Bookworm based releases
4
5 -- Proxmox Support Team <support@proxmox.com> Wed, 24 May 2023 18:52:04 +0200
6
7 pve-eslint (8.41.0-1) bullseye; urgency=medium
8
9 [ Proxmox Support Team ]
10 * update to 8.41.0 upstream release
11 * update 'buildupstream' make target to run 'npm run build:webpack'
12
13 [ ESLint ]
14 * relevant changes since 8.23.1
15 + fix: incorrect warning message for ignored dotfiles (#17196)
16 + feat: change default ignore pattern to `**/node_modules/` in flat config (#17184)
17 + fix: unify `LintMessage` type (#17076)
18 + feat: expose `shouldUseFlatConfig` (#17169)
19 + fix: validate `ignorePatterns` constructor option in `FlatESLint` class (#17139)
20 + fix: switch `grapheme-splitter` to `graphemer` (#17160)
21 + perf: Store indent descriptors in a plain array (#17148)
22 + refactor: locateConfigFileToUse returns an Error object (#17159)
23 + fix: Ensure FlatESLint#findConfigFile() doesn't throw. (#17151)
24 + feat: improve flat config errors for invalid rule options and severities (#17140)
25 + feat: Add findConfigFile() method to FlatESLint (#17142)
26 + feat: add `sourceCode` property to the rule context (#17107)
27 + feat: add `physicalFilename` property to the rule context (#17111)
28 + feat: add `cwd` to rule context (#17106)
29 + feat: add `filename` property to the rule context (#17108)
30 + feat: add new `omitLastInOneLineClassBody` option to the `semi` rule (#17105)
31 + perf: don't use `grapheme-splitter` on ASCII strings in key-spacing rule (#17122)
32 + feat: Implement `SourceCode#markVariableAsUsed()` (#17086)
33 + perf: Binary search in token store `utils.search` (#17066)
34 + refactor: remove unnecessary use of `SourceCode#getAncestors` in rules (#17075)
35 + feat: Move getDeclaredVariables and getAncestors to SourceCode (#17059)
36 + refactor: simplify new-parens rule schema (#17060)
37 + fix: do not report on `RegExp(...args)` in `require-unicode-regexp` (#17037)
38 + feat: `require-unicode-regexp` add suggestions (#17007)
39 + fix: correctly handle `null` default config in `RuleTester` (#17023)
40 + feat: Copy getScope() to SourceCode (#17004)
41 + feat: Use plugin metadata for flat config serialization (#16992)
42 + feat: docs license (#17010)
43 + fix: `getFirstToken`/`getLastToken` on comment-only node (#16889)
44 + fix: Fix typo in `logical-assignment-operators` rule description (#17000)
45 + feat: languageOptions.parser must be an object. (#16985)
46 + feat: Add `checkJSDoc` option to multiline-comment-style (#16807)
47 + feat: Serialize parsers/processors in flat config (#16944)
48 + feat: use @eslint-community dependencies (#16784)
49 + fix: correctly iterate files matched by glob patterns (#16831)
50 + feat: add `afterHashbangComment` option to `lines-around-comment` rule (#16920)
51 + feat: Move all and recommended configs into package. (#16844)
52 + perf: upgrade to esquery@1.4.2 (#16901)
53 + fix: pin esquery v1.4.0 (fixes #16896) (#16897)
54 + feat: report more cases with `??` in no-constant-binary-expression (#16826)
55 + fix: false positive with assignment in `no-extra-parens` (#16872)
56 + feat: `array-callback-return` supports `Array.prototype.toSorted` (#16845)
57 + feat: add `restrictDefaultExports` option to no-restricted-exports rule (#16785)
58 + fix: ignore directives for no-fallthrough (#16757)
59 + feat: add suggestions for redundant wrapping in prefer-regex-literals (#16658)
60 + fix: correct syntax error in `prefer-arrow-callback` autofix (#16722)
61 + fix: new instance of FlatESLint should load latest config file version (#16608)
62 + feat: check assignment patterns in no-underscore-dangle (#16693)
63 + feat: add options to check destructuring in no-underscore-dangle (#16006)
64 + feat: group properties with values in parentheses in `key-spacing` (#16677)
65 + fix: Ensure flat config unignores work consistently like eslintrc (#16579)
66 + feat: add suggestion for no-return-await (#16637)
67 + feat: update globals (#16654)
68 + refactor: migrate off deprecated function-style rules in all tests (#16618)
69 + fix: autofix recursive functions in no-var (#16611)
70 + feat: add `allowParensAfterCommentPattern` option to no-extra-parens (#16561)
71 + feat: `prefer-named-capture-group` add suggestions (#16544)
72 + feat: In no-invalid-regexp validate flags also for non-literal patterns (#16583)
73 + feat: add `ignoreClassFieldInitialValues` option to no-magic-numbers (#16539)
74 + fix: Ensure that dot files are found with globs. (#16550)
75 + fix: throw error for first unmatched pattern (#16533)
76 + feat: multiline properties in rule `key-spacing` with option `align` (#16532)
77 + feat: `no-obj-calls` support `Intl` (#16543)
78 + fix: allow `* 1` when followed by `/` in no-implicit-coercion (#16522)
79 + feat: new `no-new-native-nonconstructor` rule (#16368)
80 + feat: add new rule `no-empty-static-block` (#16325)
81 + fix: Ensure unmatched glob patterns throw an error (#16462)
82 + feat: no-empty suggest to add comment in empty BlockStatement (#16470)
83 + fix: handle files with unspecified path in `getRulesMetaForResults` (#16437)
84 + feat: use `context.languageOptions.ecmaVersion` in core rules (#16458)
85 + fix: use `baseConfig` constructor option in FlatESLint (#16432)
86 + fix: Ensure that glob patterns are matched correctly. (#16449)
87 + feat: check `Object.create()` in getter-return (#16420)
88 + fix: ignore messages without a `ruleId` in `getRulesMetaForResults` (#16409)
89 + fix: `--ignore-pattern` in flat config mode should be relative to `cwd` (#16425)
90 + fix: make `getRulesMetaForResults` return a plain object in trivial case (#16438)
91 + fix: Ensure that directories can be unignored. (#16436)
92 + feat: `no-implicit-globals` supports `exported` block comment (#16343)
93 + fix: Ensure unignore and reignore work correctly in flat config. (#16422)
94 + feat: Use ESLINT_USE_FLAT_CONFIG environment variable for flat config (#16356)
95 + feat: Swap out Globby for custom globbing solution. (#16369)
96 + feat: Pass --max-warnings value to formatters (#16348)
97 + feat: remove support for ignore files in FlatESLint (#16355)
98 + feat: `id-length` counts graphemes instead of code units (#16321)
99 + perf: switch from object spread to `Object.assign` when merging globals (#16311)
100 + feat: account for `sourceType: "commonjs"` in the strict rule (#16308)
101 + feat: add rule logical-assignment-operators (#16102)
102 + feat: `array-callback-return` support `findLast` and `findLastIndex` (#16314)
103
104 -- Proxmox Support Team <support@proxmox.com> Tue, 23 May 2023 09:27:29 +0200
105
106 pve-eslint (8.23.1-1) bullseye; urgency=medium
107
108 [ Proxmox Support Team ]
109 * update to 8.23.1 upstream release
110 * remove polyfill plugin via webpack config patch
111
112 [ ESLint ]
113 * relevant changes since 8.4.0
114 + fix: Upgrade eslintrc to stop redefining plugins (#16297)
115 + fix: improve autofix for the `prefer-const` rule (#16292)
116 + fix: Ensure that glob patterns are normalized (#16287)
117 + perf: migrate rbTree to js-sdsl (#16267)
118 + fix: Ensure globbing doesn't include subdirectories (#16272)
119 + feat: Enable eslint.config.js lookup from CLI (#16235)
120 + feat: add `allowEmptyCase` option to no-fallthrough rule (#15887)
121 + test: add no-extra-parens tests with rest properties (#16236)
122 + refactor: simplify `parseListConfig` (#16241)
123 + feat: no-warning-comments support comments with decoration (#16120)
124 + feat: Implement caching for FlatESLint (#16190)
125 + feat: add `methodsIgnorePattern` option to object-shorthand rule (#16185)
126 + feat: Implement FlatESLint (#16149)
127 + feat: improve the key width calculation in `key-spacing` rule (#16154)
128 + feat: add new `allowLineSeparatedGroups` option to the `sort-keys` rule (#16138)
129 + feat: add deprecation warnings for legacy API in `RuleTester` (#16063)
130 + fix: lines-around-comment apply `allowBlockStart` for switch statements (#16153)
131 + fix: no-warning-comments rule escapes special RegEx characters in terms (#16090)
132 + feat: catch preprocess errors (#16105)
133 + fix: ignore spacing before `]` and `}` in comma-spacing (#16113)
134 + feat: add importNames support for patterns in no-restricted-imports (#16059)
135 + feat: fix handling of blockless `with` statements in indent rule (#16068)
136 + fix: throw helpful exception when rule has wrong return type (#16075)
137 + feat: account for rule creation time in performance reports (#15982)
138 + fix: Make no-unused-vars treat for..of loops same as for..in loops (#15868)
139 + feat: fix indent bug with semicolon-first style (#15951)
140 + feat: add `allowNamedExports` option to no-use-before-define (#15953)
141 + test: cleanup typos (#15937)
142 + fix: cleanup typos (#15939)
143 + fix: typo ocatal -> octal (#15940)
144 + test: ensure no-restricted-imports works with NodeJS imports (#15907)
145 + feat: add Unicode flag suggestion in no-misleading-character-class (#15867)
146 + feat: check Unicode code point escapes in no-control-regex (#15862)
147 + feat: Update global variables (#15871)
148 + fix: function-paren-newline crash on "new new Foo();" (#15850)
149 + fix: "use strict" should not trigger strict mode in ES3 (#15846)
150 + feat: add `enforceInClassFields` option to no-underscore-dangle (#15818)
151 + fix: allow project paths to have URL-encoded characters (#15795)
152 + feat: Add rule no-constant-binary-expression (#15296)
153 + fix: update `astUtils.isDirectiveComment` with `globals` and `exported` (#15775)
154 + feat: fix no-eval logic for `this` in arrow functions (#15755)
155 + fix: invalid operator in operator-assignment messages (#15759)
156 + feat: fix logic for top-level `this` in no-invalid-this and no-eval (#15712)
157 + fix: escaping for square brackets in ignore patterns (#15666)
158 + feat: add `destructuredArrayIgnorePattern` option in `no-unused-vars` (#15649)
159 + feat: Catch `undefined` and `Boolean()` in no-constant-condition (#15613)
160 + feat: Add ESLint favicon to the HTML report document (#15671)
161 + feat: `valid-typeof` always ban `undefined` (#15635)
162 + fix: extend the autofix range in comma-dangle to ensure the last element (#15669)
163 + fix: Avoid `__dirname` for built-in configs (#15616)
164 + feat: Add `ignoreOnInitialization` option to no-shadow rule (#14963)
165 + feat: `--debug` prints time it takes to parse a file (#15609)
166 + feat: Add `onlyOneSimpleParam` option to no-confusing-arrow rule (#15566)
167 + test: add integration tests with built-in configs (#15612)
168 + perf: fix lazy loading of core rules (#15606)
169 + fix: false positive in `camelcase` with combined properties (#15581)
170 + feat: update eslint-scope to ignore `"use strict"` directives in ES3 (#15595)
171 + feat: add `es2016`, `es2018`, `es2019`, and `es2022` environments (#15587)
172 + feat: fix bug with arrow function return types in function-paren-newline (#15541)
173 + feat: Implement FlatRuleTester (#15519)
174 + feat: implement rfc 2021-suppression-support (#15459)
175 + fix: no-invalid-this false positive in class field initializer (#15495)
176 + feat: no-restricted-imports support casing (#15439)
177 + fix: Correctly consume RuleTester statics (#15507)
178 + fix: Add property `fatalErrorCount` to ignored file results (#15520)
179 + fix: Prevent false positives with no-constant-condition (#15486)
180 + feat: Support arbitrary module namespace names in no-restricted-imports (#15491)
181 + feat: Support arbitrary module namespace names in no-useless-rename (#15493)
182 + feat: move `eslint --init` to @eslint/create-config (#15150)
183 + feat: false negative with `property` option in `id-match` (#15474)
184 + feat: Support arbitrary module namespace names in the camelcase rule (#15490)
185 + feat: Support arbitrary module namespace names in the quotes rule (#15479)
186 + feat: Support arbitrary module namespace names in keyword-spacing (#15481)
187 + feat: Support arbitrary module namespace names in no-restricted-exports (#15478)
188 + feat: handle logical assignment in no-self-assign (#14152)
189 + feat: allow to define `eslint-disable-next-line` in multiple lines (#15436)
190 + refactor: remove unused parameter in `linter.js` (#15451)
191 + test: add tests for `allowReserved` parser option with flat config (#15450)
192 + feat: false negative with `onlyDeclarations` + `properties` in id-match (#15431)
193 + fix: improve `prefer-template` fixer (#15230)
194 + feat: Suggestions support for `prefer-regex-literals` (#15077)
195 + fix: do not report global references in `id-match` rule (#15420)
196 + test: add destructuring test cases for `computed-property-spacing` (#15424)
197 + fix: improve autofix of `prefer-object-has-own` (#15419)
198 + fix: add helpful message when test case has non-string code/name (#15425)
199 + feat: add `prefer-object-has-own` rule (#15346)
200 + fix: revert changes to reported locations in max-lines-per-function (#15397)
201
202 -- Proxmox Support Team <support@proxmox.com> Thu, 15 Sep 2022 11:28:52 +0200
203
204 pve-eslint (8.4.0-3) bullseye; urgency=medium
205
206 * switch from es2020 to es2021 as standard ecma script version to enforce
207
208 -- Proxmox Support Team <support@proxmox.com> Tue, 26 Apr 2022 11:11:42 +0200
209
210 pve-eslint (8.4.0-2) bullseye; urgency=medium
211
212 * repair `--fix` CLI option
213
214 -- Proxmox Support Team <support@proxmox.com> Fri, 10 Dec 2021 13:18:14 +0100
215
216 pve-eslint (8.4.0-1) bullseye; urgency=medium
217
218 [ Proxmox Support Team ]
219 * update to 8.4.0 upstream release
220 * change from depreacated CLIEngine module to ESLint one
221
222 [ ESLint ]
223 * relevant changes since 8.3.0
224 + feat: add `allowReserved` parser option (#15387)
225 + feat: Flat config support in Linter (refs #13481) (#15185)
226 + feat: Treat Class/New Expressions as truthy in no-constant-condition (#15326)
227 + feat: report only lines that exceed the limit in max-lines-per-function (#15140)
228 + feat: pass cwd to formatters (refs eslint/rfcs#57) (#13392)
229 + fix: mark --rulesdir option as deprecated in CLI docs (#15310)
230 + feat: support async formatters (#15243)
231
232 -- Proxmox Support Team <support@proxmox.com> Mon, 06 Dec 2021 14:12:21 +0100
233
234 pve-eslint (8.3.0-1) bullseye; urgency=medium
235
236 [ Proxmox Support Team ]
237 * update to 8.3.0 upstream release
238
239 [ ESLint ]
240 * relevant changes since 7.28.0
241 + feat: add `allowReserved` parser option (#15387)
242 + feat: Flat config support in Linter (refs #13481) (#15185)
243 + feat: Treat Class/New Expressions as truthy in no-constant-condition (#15326)
244 + feat: report only lines that exceed the limit in max-lines-per-function (#15140)
245 + feat: pass cwd to formatters (refs eslint/rfcs#57) (#13392)
246 + fix: mark --rulesdir option as deprecated in CLI docs (#15310)
247 + feat: support async formatters (#15243)
248 + feat: add `allowProperties` option to require-atomic-updates (#15238)
249 + feat: update no-use-before-define for class static blocks (#15312)
250 + fix: update vars-on-top for class static blocks (#15306)
251 + fix: update semi-style for class static blocks (#15309)
252 + feat: update no-redeclare for class static blocks (#15313)
253 + feat: update no-inner-declarations for class static blocks (#15290)
254 + feat: support for private-in syntax (fixes #14811) (#15060)
255 + feat: Update espree and eslint-scope (#15338)
256 + feat: update max-depth for class static blocks (#15316)
257 + feat: update padded-blocks for class static blocks (#15333)
258 + feat: update the complexity rule for class static blocks (#15328)
259 + feat: update the indent rule for class static blocks (#15324)
260 + feat: update lines-around-comment for class static blocks (#15323)
261 + feat: update brace-style for class static blocks (#15322)
262 + feat: update max-statements for class static blocks (#15315)
263 + feat: update prefer-const for class static blocks (#15325)
264 + feat: code path analysis for class static blocks (#15282)
265 + feat: update eslint-scope for class static blocks (#15321)
266 + feat: update one-var for class static blocks (#15317)
267 + feat: update padding-line-between-statements for class static blocks (#15318)
268 + fix: update no-invalid-this and no-eval for class static blocks (#15300)
269 + feat: update class-methods-use-this for class static blocks (#15298)
270 + feat: update no-lone-blocks for class static blocks (#15295)
271 + feat: update block-spacing for class static blocks (#15297)
272 + feat: update keyword-spacing for class static blocks (#15289)
273 + feat: update no-extra-semi for class static blocks (#15287)
274 + feat: update semi rule for class static blocks (#15286)
275 + feat: add examples for block-scoped-var with class static blocks (#15302)
276 + feat: Normalize ecmaVersion to eslint-scope when using custom parser (#15268)
277 + feat: report class evaluation TDZ errors in no-use-before-define (#15134)
278 + perf: don't prepare a fix for valid code in key-spacing (#15239)
279 + Fix: keyword-spacing conflict with space-infix-ops on `>` (fixes #14712) (#15172)
280 + Fix: allow `baseConfig` to extend preloaded plugin config (fixes #15079) (#15187)
281 + New: Add no-unused-private-class-members rule (fixes #14859) (#14895)
282 + New: Add name to RuleTester (#15179)
283 + Upgrade: `eslint-plugin-eslint-plugin` to v4 (#15169)
284 + Upgrade: @eslint/eslintrc@1.0.3 for Jest workaround (#15164)
285 + Upgrade: unfrozen @eslint/eslintrc (fixes #15036) (#15146)
286 + Fix: require-atomic-updates property assignment message (fixes #15076) (#15109)
287 + Update: Suggest missing rule in flat config (fixes #14027) (#15074)
288 + Update: space-before-blocks ignore after switch colons (fixes #15082) (#15093)
289 + Fix: preserve formatting when rules are removed from disable directives (#15081)
290 + Update: `no-new-func` rule catching eval case of `MemberExpression` (#14860)
291 + Update: include `ruleId` in error logs (fixes #15037) (#15053)
292 + Upgrade: @eslint/eslintrc@1.0.1 (#15047)
293 + Breaking: Disallow reserved words in ES3 (fixes #15017) (#15046)
294 + Update: support class fields in the `complexity` rule (refs #14857) (#14957)
295 + Fix: semicolon-less style in lines-between-class-members (refs #14857) (#15045)
296 + Update: enforceForClassFields in class-methods-use-this (refs #14857) (#15018)
297 + Fix: Update semi for class-fields (refs #14857) (#14945)
298 + Update: added ignoreExpressions option to max-classes-per-file (#15000)
299 + Fix: no-undef-init should not apply to class fields (refs #14857) (#14994)
300 + Update: Code path analysis for class fields (fixes #14343) (#14886)
301 + Update: support class fields in func-name-matching (refs #14857) (#14964)
302 + Breaking: remove meta.docs.category in core rules (fixes #13398) (#14594)
303 + Fix: camelcase ignoreGlobals shouldn't apply to undef vars (refs #14857) (#14966)
304 + Update: reporting loc for `never` option in `eol-last` (refs #12334) (#14840)
305 + Update: fix no-unused-vars false negative with comma operator (#14928)
306 + Update: fix no-unreachable logic for class fields (refs #14857) (#14920)
307 + Fix: keyword-spacing private name compat (refs #14857) (#14946)
308 + Upgrade: @eslint/eslintrc@1.0.0 (#14865)
309 + Fix: handle computed class fields in operator-linebreak (refs #14857) (#14915)
310 + Upgrade: Debug 4.0.1 > 4.3.2 (#14892)
311 + Fix: no-useless-computed-key edge cases with class fields (refs #14857) (#14903)
312 + Upgrade: `js-yaml` to v4 (#14890)
313 + Fix: prefer-destructuring PrivateIdentifier false positive (refs #14857) (#14897)
314 + Fix: dot-notation false positive with private identifier (refs #14857) (#14898)
315 + Update: check class fields in no-extra-parens (refs #14857) (#14906)
316 + Upgrade: `eslint-visitor-keys` to v3 (#14902)
317 + Upgrade: `markdownlint` dev dependencies (#14883)
318 + Upgrade: @humanwhocodes/config-array to 0.6 (#14891)
319 + Breaking: Strict package exports (refs #13654) (#14706)
320 + Breaking: disallow SourceCode#getComments() in RuleTester (refs #14744) (#14769)
321 + Breaking: Fixable disable directives (fixes #11815) (#14617)
322 + Breaking: require `meta` for fixable rules (fixes #13349) (#14634)
323 + Breaking: Require `meta.hasSuggestions` for rules with suggestions (#14573)
324 + Breaking: support new regex d flag (fixes #14640) (#14653)
325 + Breaking: fix comma-dangle schema (fixes #13739) (#14030)
326 + Breaking: upgrade espree and support new class features (refs #14343) (#14591)
327 + Breaking: add some rules to eslint:recommended (refs #14673) (#14691)
328 + Breaking: Drop `codeframe` and `table` formatters (#14316)
329 + Breaking: drop node v10/v13/v15 (fixes #14023) (#14592)
330 + Update: Suggest missing rule in flat config (fixes #14027) (#15074)
331 + Update: space-before-blocks ignore after switch colons (fixes #15082) (#15093)
332 + Fix: preserve formatting when rules are removed from disable directives (#15081)
333 + Update: `no-new-func` rule catching eval case of `MemberExpression` (#14860)
334 + Update: include `ruleId` in error logs (fixes #15037) (#15053)
335 + Upgrade: @eslint/eslintrc@1.0.1 (#15047)
336 + Breaking: Disallow reserved words in ES3 (fixes #15017) (#15046)
337 + Update: support class fields in the `complexity` rule (refs #14857) (#14957)
338 + Fix: semicolon-less style in lines-between-class-members (refs #14857) (#15045)
339 + Update: enforceForClassFields in class-methods-use-this (refs #14857) (#15018)
340 + Fix: Update semi for class-fields (refs #14857) (#14945)
341 + Update: added ignoreExpressions option to max-classes-per-file (#15000)
342 + Fix: no-undef-init should not apply to class fields (refs #14857) (#14994)
343 + Revert "allow all directives in line comments" (fixes #14960) (#14973)
344 + Update: Code path analysis for class fields (fixes #14343) (#14886)
345 + Update: support class fields in func-name-matching (refs #14857) (#14964)
346 + Breaking: remove meta.docs.category in core rules (fixes #13398) (#14594)
347 + Fix: camelcase ignoreGlobals shouldn't apply to undef vars (refs #14857) (#14966)
348 + Update: reporting loc for `never` option in `eol-last` (refs #12334) (#14840)
349 + Update: fix no-unused-vars false negative with comma operator (#14928)
350 + Update: fix no-unreachable logic for class fields (refs #14857) (#14920)
351 + Fix: keyword-spacing private name compat (refs #14857) (#14946)
352 + Upgrade: @eslint/eslintrc@1.0.0 (#14865)
353 + Fix: handle computed class fields in operator-linebreak (refs #14857) (#14915)
354 + Upgrade: Debug 4.0.1 > 4.3.2 (#14892)
355 + Fix: no-useless-computed-key edge cases with class fields (refs #14857) (#14903)
356 + Upgrade: `js-yaml` to v4 (#14890)
357 + Fix: prefer-destructuring PrivateIdentifier false positive (refs #14857) (#14897)
358 + Fix: dot-notation false positive with private identifier (refs #14857) (#14898)
359 + Update: check class fields in no-extra-parens (refs #14857) (#14906)
360 + Upgrade: `eslint-visitor-keys` to v3 (#14902)
361 + Upgrade: `markdownlint` dev dependencies (#14883)
362 + Upgrade: @humanwhocodes/config-array to 0.6 (#14891)
363 + Breaking: Strict package exports (refs #13654) (#14706)
364 + Breaking: disallow SourceCode#getComments() in RuleTester (refs #14744) (#14769)
365 + Breaking: Fixable disable directives (fixes #11815) (#14617)
366 + Breaking: require `meta` for fixable rules (fixes #13349) (#14634)
367 + Breaking: Require `meta.hasSuggestions` for rules with suggestions (#14573)
368 + Breaking: allow all directives in line comments (fixes #14575) (#14656)
369 + Breaking: support new regex d flag (fixes #14640) (#14653)
370 + Breaking: fix comma-dangle schema (fixes #13739) (#14030)
371 + Breaking: upgrade espree and support new class features (refs #14343) (#14591)
372 + Breaking: add some rules to eslint:recommended (refs #14673) (#14691)
373 + Breaking: Drop `codeframe` and `table` formatters (#14316)
374 + Breaking: drop node v10/v13/v15 (fixes #14023) (#14592)
375 + Update: change reporting location for `curly` rule (refs #12334) (#14766)
376 + Fix: ignore lines with empty elements (fixes #12756) (#14837)
377 + New: Exit on fatal error (fixes #13711) (#14730)
378 + Upgrade: @eslint/eslintrc to v0.4.3 (#14808)
379 + Update: add end location to report in `consistent-return` (refs #12334) (#14798)
380 + Update: Indicating the operator in question (#14764)
381 + Update: Clarifying what changes need to be made in no-mixed-operators (#14765)
382 + Update: ecmaVersion allows "latest" (#14720)
383 + Update: improve use-isnan rule to detect `Number.NaN` (fixes #14715) (#14718)
384 + Update: Implement FlatConfigArray (refs #13481) (#14321)
385 + New: Add only to RuleTester (refs eslint/rfcs#73) (#14677)
386 + New: Add ESLint#getRulesMetaForResults() (refs #13654) (#14716)
387 + Fix: allow fallthrough comment inside block (fixes #14701) (#14702)
388
389 -- Proxmox Support Team <support@proxmox.com> Wed, 01 Dec 2021 13:44:36 +0100
390
391 pve-eslint (7.28.0-1) unstable; urgency=medium
392
393 [ Proxmox Support Team ]
394 * update to 7.28.0 upstream release
395 * switch from ECMA script 2018 to 2020, allowing use of optional chaining
396 operator (?.), nullish coalescing operator (??) Promise.allSettled helper,
397 flat / flatMap for Arrays, Object.fromEntries, String trimming, BigInt and
398 matchAll on Strings.
399
400 [ ESLint ]
401 * relevant changes since 7.18.0
402 + Upgrade: @eslint/eslintrc to 0.4.2 (#14672) (Milos Djermanovic)
403 + Update: support multiline /*eslint-env*/ directives (fixes #14652) (#14660) (薛定谔的猫)
404 + Upgrade: glob-parent version in package.json (#14658) (Hamza Najeeb)
405 + Fix: no-implicit-coercion false positive with `String()` (fixes #14623) (#14641) (Milos Djermanovic)
406 + Fix: no-duplicate-imports allow unmergeable (fixes #12758, fixes #12760) (#14238) (Soufiane Boutahlil)
407 + New: add `getPhysicalFilename()` method to rule context (fixes #11989) (#14616) (Nitin Kumar)
408 + Fix: arrow-body-style crash with object pattern (fixes #14633) (#14635) (Milos Djermanovic)
409 + Update: no-unused-vars false negative with comma operator (fixes #14325) (#14354) (Nitin Kumar)
410 + Update: no-restricted-imports custom message for patterns (fixes #11843) (#14580) (Alex Holden)
411 + Upgrade: eslintrc for ModuleResolver fix (#14577) (Brandon Mills)
412 + Fix: track variables, not names in require-atomic-updates (fixes #14208) (#14282) (Patrick Ahmetovic)
413 + Fix: create `.eslintrc.cjs` for `module` type (#14304) (Nitin Kumar)
414 + Update: Add automated suggestion to `radix` rule for parsing decimals (#14291) (Bryan Mishkin)
415 + New: Include XO style guide in `eslint --init` (#14193) (Federico Brigante)
416 + Update: highlight last write reference for no-unused-vars (fixes #14324) (#14335) (Nitin Kumar)
417 + Update: lint code block with same extension but different content (#14227) (JounQin)
418 + Update: Add disallowTemplateShorthand option in no-implicit-coercion (#13579) (Remco Haszing)
419 + Fix: no-unused-vars ignoreRestSiblings check assignments (fixes #14163) (#14264) (YeonJuan)
420 + Update: add ignoreNonDeclaration to no-multi-assign rule (fixes #12545) (#14185) (t-mangoe)
421 + Update: add option "allowInParentheses" to no-sequences (fixes #14197) (#14199) (Daniel Rentz)
422 + Update: `--quiet` should not supress `--max-warnings` (fixes #14202) (#14242) (Milos Djermanovic)
423 + Fix: no-mixed-operators false positives with `? :` (fixes #14223) (#14226) (Milos Djermanovic)
424 + Fix: Clarify line breaks in object-curly-newline (fixes #14024) (#14063) (armin yahya)
425 + Update: eslint --env-info output os info (#14059) (薛定谔的猫)
426 + Update: throw error when fix range is invalid (#14142) (Jacob Bandes-Storch)
427 + Upgrade: Update lodash in package.json to V 4.17.21 (#14159) (Basem Al-Nabulsi)
428 + Update: report es2021 globals in no-extend-native (refs #13602) (#14177) (Milos Djermanovic)
429 + Upgrade: @eslint/eslintrc to 0.4.0 (#14147) (Brandon Mills)
430 + Upgrade: Puppeteer to 7.1.0 (#14122) (Tim van der Lippe)
431 + New: Implement cacheStrategy (refs eslint/rfcs#63) (#14119) (Manu Chambon)
432 + Update: do not ignore symbolic links (fixes #13551, fixes #13615) (#14126) (Pig Fang)
433 + Fix: pluralize 'line' to 'lines' in max-lines-per-function description (#14115) (Trevin Hofmann)
434 + Fix: Crash with esquery when using JSX (fixes #13639) (#14072) (Yosuke Ota)
435 + Update: add enforceForJSX option to no-unused-expressions rule (#14012) (Duncan Beevers)
436 + Fix: `--init` autoconfig shouldn't add deprecated rules (fixes #14017) (#14060) (Milos Djermanovic)
437 + Fix: Support ENOTDIR error code in the folder existence checking utility (#13973) (Constantine Genchevsky)
438 + Upgrade: pin @babel/code-frame@7.12.11 (#14067) (Milos Djermanovic)
439 + Build: package.json update for eslint-config-eslint release (ESLint Jenkins)
440 + Update: add shadowed variable loc to message in no-shadow (fixes #13646) (#13841) (t-mangoe)
441 + Update: fix `let` logic in for-in and for-of loops in no-extra-parens (#14011) (Milos Djermanovic)
442 + Fix: no-useless-rename invalid autofix with parenthesized identifiers (#14032) (Milos Djermanovic)
443 + Fix: nested indenting for offsetTernaryExpressions: true (fixes #13971) (#13972) (Chris Brody)
444 + Update: check ternary `:` even if `?` was reported in space-infix-ops (#13963) (Milos Djermanovic)
445 + Fix: extend prefer-const fixer range to whole declaration (fixes #13899) (#14033) (Nitin Kumar)
446 + Update: fix no-invalid-regexp false negatives with no flags specified (#14018) (Milos Djermanovic)
447
448 -- Proxmox Support Team <support@proxmox.com> Wed, 09 Jun 2021 16:37:05 +0200
449
450 pve-eslint (7.18.0-1) unstable; urgency=medium
451
452 [ Proxmox Support Team ]
453 * update to 7.18.0 upstream release
454 * switch from ECMA script 2017 to 2018, allowing use of spread operator,
455 async iteration, final prototype for Promise and some RegExp features
456
457 [ ESLint ]
458 * relevant changes since 7.12.1
459 + Upgrade: @eslint/eslintrc to improve error message for invalid extends (#14009) (Milos Djermanovic)
460 + Update: check logical assignment operators in the complexity rule (#13979) (Milos Djermanovic)
461 + Fix: --init crash on question to upgrade/downgrade ESLint (fixes #13978) (#13995) (Milos Djermanovic)
462 + Fix: no-extra-parens false positive with `let` identifier in for-loop (#13981) (Milos Djermanovic)
463 + Upgrade: Bump lodash to fix security issue (#13993) (Frederik Prijck)
464 + Update: check logical assignment in no-constant-condition (#13946) (Milos Djermanovic)
465 + Update: use regexpp's default ecmaVersion in no-control-regex (#13969) (Milos Djermanovic)
466 + Fix: use regexpp's default ecmaVersion in no-invalid-regexp (#13968) (Milos Djermanovic)
467 + Update: add autofix to rule multiline-ternary (#13958) (薛定谔的猫)
468 + Fix: no-useless-escape wrong loc and fix with CRLF in template elements (#13953) (Milos Djermanovic)
469 + Fix: one-var shouldn't split declaration if it isn't in a statement list (#13959) (Milos Djermanovic)
470 + Update: fix false negative of no-extra-parens with NewExpression (#13930) (Milos Djermanovic)
471 + Fix: require-atomic-updates false positive across await (fixes #11954) (#13915) (buhi)
472 + Fix: no-constant-condition false positives with unary expressions (#13927) (Milos Djermanovic)
473 + Fix: false positive with await and ** in no-extra-parens (fixes #12739) (#13923) (Milos Djermanovic)
474 + Upgrade: table@6.0.4 (#13920) (Rouven Weßling)
475 + Fix: prefer-exponentiation-operator invalid autofix with await (#13924) (Milos Djermanovic)
476 + Upgrade: @eslint/esintrc and espree for bug fixes (refs #13878) (#13908) (Brandon Mills)
477 + Upgrade: file-entry-cache@6.0.0 (#13877) (Rouven Weßling)
478 + New: no-unsafe-optional-chaining rule (fixes #13431) (#13859) (YeonJuan)
479 + Fix: one-var autofixing for export (fixes #13834) (#13891) (Anix)
480 + Update: fix 'skip' options in no-irregular-whitespace (fixes #13852) (#13853) (Milos Djermanovic)
481 + New: Add no-nonoctal-decimal-escape rule (fixes #13765) (#13845) (Milos Djermanovic)
482 + Fix: enable debug logs for @eslint/eslintrc (fixes #13850) (#13861) (Milos Djermanovic)
483 + Fix: no-useless-constructor crash on bodyless constructor (fixes #13830) (#13842) (Ari Perkkiö)
484 + New: Configurable List Size For Per-Rule Performance Metrics (#13812) (Bryan Mishkin)
485
486 -- Proxmox Support Team <support@proxmox.com> Tue, 19 Jan 2021 17:07:51 +0100
487
488 pve-eslint (7.12.1-1) unstable; urgency=medium
489
490 [ Proxmox Support Team ]
491 * update to 7.12.1 release
492 * add strict mode, for exiting also uncleanly on warnings
493
494 [ ESLint ]
495 * relevant changes since 7.2.0
496 + Upgrade: @eslint/eslintrc to fix rule schema validation (fixes #13793) (#13794) (Brandon Mills)
497 + Fix: Pass internal config paths in FileEnumerator default (fixes #13789) (#13792) (Brandon Mills)
498 + Update: skip keyword check for fns in space-before-blocks (fixes #13553) (#13712) (Milos Djermanovic)
499 + Fix: autofix shouldn't produce template literals with `\8` or `\9` (#13737) (Milos Djermanovic)
500 + Fix: yoda rule autofix produces syntax errors with adjacent tokens (#13760) (Milos Djermanovic)
501 + Fix: prefer-destructuring invalid autofix with comma operator (#13761) (Milos Djermanovic)
502 + Update: remove suggestion if it didn't provide a fix (fixes #13723) (#13772) (Milos Djermanovic)
503 + Update: check template literal in no-script-url (#13775) (YeonJuan)
504 + Update: treat all literals like boolean literal in no-constant-condition (#13245) (Zen)
505 + Update: Fix && vs || short-circuiting false negatives (fixes #13634) (#13769) (Brandon Mills)
506 + Update: check computed keys in no-prototype-builtins (fixes #13088) (#13755) (Milos Djermanovic)
507 + Fix: don't count line after EOF in max-lines (#13735) (Milos Djermanovic)
508 + Upgrade: eslint-visitor-keys@2.0.0 (#13732) (Milos Djermanovic)
509 + Fix: account for linebreaks before postfix `++`/`--` in no-extra-parens (#13731) (Milos Djermanovic)
510 + Update: support async arrow fn in function-paren-newline (fixes #13728) (#13729) (Michal Dziekonski)
511 + Update: Add ignorePattern to no-inline-comments (#13029) (Edie Lemoine)
512 + Fix: prefer-destructuring invalid autofix with computed property access (#13704) (Milos Djermanovic)
513 + Upgrade: eslint-scope@5.1.1 (#13716) (Milos Djermanovic)
514 + Fix: Corrected notice for invalid (:) plugin names (#13473) (Josh Goldberg)
515 + Fix: prefer-destructuring removes comments (refs #13678) (#13682) (Milos Djermanovic)
516 + Update: fix id-length false negatives on Object.prototype property names (#13670) (Milos Djermanovic)
517 + Fix: NonOctalDecimalIntegerLiteral is decimal integer (fixes #13588) (#13664) (Milos Djermanovic)
518 + Fix: Update broken @eslint/eslintrc version (fixes #13641) (#13647) (Nicholas C. Zakas)
519 + Update: support logical assignments in code path analysis (refs #13569) (#13612) (Milos Djermanovic)
520 + Update: support logical assignments in core rules (refs #13569) (#13618) (Milos Djermanovic)
521 + Update: add es2021 environment (refs #13602) (#13603) (Milos Djermanovic)
522 + Update: support numeric separators (refs #13568) (#13581) (Milos Djermanovic)
523 + Update: Add exceptionPatterns to id-length rule (fixes #13094) (#13576) (sodam)
524 + Update: support numeric-separator in no-loss-of-precision (refs #13568) (#13574) (Anix)
525 + Update: add comment to message in no-warning-comments (fixes #12327) (#13522) (Anix)
526 + Upgrade: espree@7.3.0 (refs #13568) (#13609) (Kai Cataldo)
527 + Update: Add no-magic-numbers 'ignoreDefaultValues' option (#12611) (Dieter Luypaert)
528 + Update: allowFunctionParams option in no-underscore-dangle (fixes 12579) (#13545) (Sunghyun Cho)
529 + Fix: revert "Update: disallow multiple options in comma-dangle schema" (#13564) (Kai Cataldo)
530 + Fix: indent for async arrow functions (fixes #13497) (#13544) (Anix)
531 + Update: require `meta` for fixable rules in RuleTester (refs #13349) (#13489) (Milos Djermanovic)
532 + Fix: Do not output `undefined` as line and column when it's unavailable (#13519) (haya14busa)
533 + Fix: Update the chatroom link to go directly to help channel (#13536) (Nicholas C. Zakas)
534 + Update: Change no-duplicate-case to comparing tokens (fixes #13485) (#13494) (Yosuke Ota)
535 + Update: optional chaining support (fixes #12642) (#13416) (Toru Nagashima)
536 + Upgrade: lodash@4.17.19 (#13499) (Yohan Siguret)
537 + Update: deprecate id-blacklist rule (#13465) (Dimitri Mitropoulos)
538 + Update: Improve report location no-irregular-whitespace (refs #12334) (#13462) (Milos Djermanovic)
539 + Build: update webpack resolve.mainFields to match website config (#13457) (Milos Djermanovic)
540 + Fix: arrow-body-style fixer for `in` wrap (fixes #11849) (#13228) (Anix)
541 + Upgrade: Updated puppeteer version to v4.0.0 (#13444) (odidev)
542 + Update: add allowSeparatedGroups option to sort-imports (fixes #12951) (#13455) (Milos Djermanovic)
543 + Update: Improve report location for no-unneeded-ternary (refs #12334) (#13456) (Milos Djermanovic)
544 + Update: Improve report location for max-len (refs #12334) (#13458) (Milos Djermanovic)
545 + Fix: add end location to reports in object-curly-newline (refs #12334) (#13460) (Milos Djermanovic)
546 + Fix: add end location to reports in keyword-spacing (refs #12334) (#13461) (Milos Djermanovic)
547 + Fix: support typescript generics in arrow-parens (fixes #12570) (#13451) (Milos Djermanovic)
548 + Fix: Revert config cloning (fixes #13447) (#13449) (薛定谔的猫)
549 + Update: Improve array-callback-return report message (#13395) (Philip (flip) Kromer)
550 + Fix: false positive new with member in no-extra-parens (fixes #12740) (#13375) (YeonJuan)
551 + Fix: Clarify documentation on implicit ignore behavior (fixes #12348) (#12600) (Scott Hardin)
552 + Update: Add option "ignoreGlobals" to camelcase rule (fixes #11716) (#12782) (David Gasperoni)
553 + Update: improve report location in arrow-body-style (refs #12334) (#13424) (YeonJuan)
554 + Update: prefer-regex-literal detect regex literals (fixes #12840) (#12842) (Mathias Schreck)
555 + Update: rename id-blacklist to id-denylist (fixes #13407) (#13408) (Kai Cataldo)
556 + Fix: Replace Infinity with Number.MAX_SAFE_INTEGER (fixes #13427) (#13435) (Nicholas C. Zakas)
557 + Update: add missing `additionalProperties: false` to some rules' schema (#13198) (Milos Djermanovic)
558 + Update: fix operator-linebreak overrides schema (#13199) (Milos Djermanovic)
559 + New: Add no-promise-executor-return rule (fixes #12640) (#12648) (Milos Djermanovic)
560 + Update: max-lines reporting loc improvement (refs #12334) (#13318) (Anix)
561 + Update: object-property-newline end location (refs #12334) (#13399) (Anix)
562 + Update: added empty error array check for false negative (#13200) (Anix)
563 + Fix: clone config before validating (fixes #12592) (#13034) (Anix)
564 + Update: semi-spacing should check do-while statements (#13358) (Milos Djermanovic)
565 + Update: disallow multiple options in comma-dangle schema (fixes #13165) (#13166) (Milos Djermanovic)
566 + New: Add no-unreachable-loop rule (fixes #12381) (#12660) (Milos Djermanovic)
567 + Update: curly should check consequent `if` statements (#12947) (Milos Djermanovic)
568 + Update: Drop @typescript-eslint/eslint-recommended from `eslint --init` (#13340) (Minh Nguyen)
569 + Update: key-spacing loc changes for extra space (refs #12334) (#13362) (Anix)
570
571 -- Proxmox Support Team <support@proxmox.com> Thu, 29 Oct 2020 11:48:08 +0100
572
573 pve-eslint (7.2.0-1) unstable; urgency=medium
574
575 * update to 7.2.0 release
576
577 * ship an example config and extend-rules sample files in docs
578
579 * 'no-unused-vars': allow starting with _underscore
580
581 * disable "no-underscore-dangle" as used in explicit unused variables
582
583 * disable 'no-else-return' rule
584
585 * try to improve 'object-curly-newline' rule
586
587 * disable 'semi-style' rule for now
588
589 * add --output-config CLI option
590
591 * add possibiliity to extend base config over CLI
592
593 -- Proxmox Support Team <support@proxmox.com> Sat, 06 Jun 2020 15:59:23 +0200
594
595 pve-eslint (7.0.0-1) unstable; urgency=medium
596
597 * update to final 7.0.0 release
598
599 -- Proxmox Support Team <support@proxmox.com> Fri, 22 May 2020 14:32:18 +0200
600
601 pve-eslint (7.0.0~alpha3-2) unstable; urgency=medium
602
603 * use more condensed output format to save some lines
604
605 * allow '!!' for boolean conversion
606
607 * print file path relative to current working directory
608
609 * ignore unused variable named 'me'
610
611 -- Proxmox Support Team <support@proxmox.com> Fri, 10 Apr 2020 17:06:59 +0200
612
613 pve-eslint (7.0.0~alpha3-1) unstable; urgency=medium
614
615 * exit sanely if no args are given
616
617 * rules: dot-location: set location parameter to property
618
619 -- Proxmox Support Team <support@proxmox.com> Thu, 09 Apr 2020 18:52:05 +0200
620
621 pve-eslint (7.0.0~alpha3) unstable; urgency=medium
622
623 * bump version to match upstream one.
624
625 -- Proxmox Support Team <support@proxmox.com> Thu, 09 Apr 2020 17:49:55 +0200
626
627 pve-eslint (1.0) unstable; urgency=low
628
629 * first version
630
631 -- Proxmox Support Team <support@proxmox.com> Thu, 02 Apr 2020 09:16:33 +0200
632