Changed
- BREAKING: Updated module to pure ESM. Any project using these rule configs
must update their ESLint config to ESM, eithereslint.config.js(if the
project is ESM) oreslint.config.mjs(if the project is CJS). Also added
explicit exports of all configs without the.jsextensions, which must be
removed if previously used. See examples in the README.
- BREAKING: Updated
base-configswithreportUnusedInlineConfigs: 'error',
added ineslint@9.19.0. See
the docs
for details. (#133)
- BREAKING: Updated
vitest-configto remove ruleno-done-callback. This
rule has been deprecated sincevitesthas deprecateddonecallbacks.
- Updated to
eslint-plugin-unicorn@57.0.0.
- BREAKING: Added new rules
consistent-date-clone
no-named-default,
consistent-assert,
no-instanceof-builtins,
no-accessor-recursion.
Removed ruleno-instanceof-array, which is deprecated and replaced by
new ruleno-instanceof-builtins.
- BREAKING: Added new rules
- BREAKING: Updated configs to use flat config enhancements in
eslint@9.22.0,
which is now the minimum required version.
- Updated all configurations to use
defineConfigto properly flatten configs
and apply types.
- Updated config and examples to use
globalIgnores. It is recommended that
any existing configs be updated to useglobalIgnoresfor clarity.
- Updated all configurations to use
- BREAKING: Updated
unicorn-configto apply rules applicable to ES Modules
to*.mjsfiles. Previously this was included in theesm-config, which
now only overrides behavior for*.jsfiles that are ES modules.
Fixed
- Updated
base-configsto properly setsourceType: 'module'for all
*.mjsfiles.
- Updated to latest dependencies:
@vitest/eslint-plugin@1.1.38,
eslint-config-prettier@10.1.1,eslint-plugin-jsdoc@50.6.8,
eslint-plugin-n@17.16.2,globals@16.0.0.
Miscellaneous
- Updated
pages:environment:urlfor changes in GitLab 17.9, where the
path_prefixis included in the variable$CI_PAGES_URL.