Changed
- BREAKING: Updated
eslint-plugin-unicornrules based on results with v69.
- Changed
unicorn/default-export-styleto{ functions: 'separate' }to
match the preferred style with arrow functions. (#155)
- Updated
unicorn/consistent-boolean-nameto include prefixesdoesand
uses. (#156)
- Updated
unicornconfig for all test files to disable rule
unicorn/no-top-level-assignment-in-functionand increase
unicorn/max-nested-callsthreshold. (#157)
- Disabled rule
unicorn/prefer-minimal-ternarysince it is too
conservative and tends to result in less readable code. (#158)
- Disabled rule
unicorn/no-manually-wrapped-commentsas it is inconsistent
with project formatting guidelines. (#158)
- Disabled rule
unicorn/prefer-awaitinbase-configto cover CommonJS
cases and kept as error for all ESM files. Numerous cases were found trying
to enforce top level await in CommonJS, which is not available. (#158)
- Changed
- BREAKING: Updated
eslintruleprefer-destructuringtoarray: false
since most cases where being disabled. (#158)
- BREAKING: Updated to
eslint-plugin-unicornfrom v69.0.0 to v72.0.0 and
added the following new rules as errors:
no-async-promise-finally,
no-multiple-promise-resolver-calls,
no-unnecessary-fetch-options,
no-unnecessary-string-trim,
no-unsafe-promise-all-settled-values,
no-useless-re-export,
prefer-abort-signal-any,
prefer-array-flat-map,
prefer-array-from-range,
prefer-block-statement-over-iife,
prefer-group-by,
prefer-iterator-helpers,
prefer-simplified-conditions,
prefer-then-catch.
Also added the following new rules as disabled:
no-missing-local-resource,
no-shorthand-property-overrides,
no-transition-all,
prefer-explicit-viewport-units,
require-frontmatter-fields.
- BREAKING: Updated
peerDependenciestotypescript@^6.0.0(removing v5).
Note thattypescript@7.0.0
does not provide an API
required bytypescript-eslint, and this is not expected until 7.1.0.
Fixed
- Updated to latest dependencies:
@vitest/eslint-plugin@1.6.23,
eslint-plugin-jsdoc@63.0.14,eslint-plugin-n@18.2.2,
eslint-plugin-playwright@2.10.5,typescript-eslint@8.64.0.
Miscellaneous
- Updated GitLab CI Templates to v53.1.1. See the
release notes
for details.