gitlab gitlab-ci-utils/eslint-config-standard 35.0.0

latest releases: 48.0.0, 47.0.0, 46.0.3...
16 months ago

Changed

  • BREAKING: Updated module to pure ESM. Any project using these rule configs
    must update their ESLint config to ESM, either eslint.config.js (if the
    project is ESM) or eslint.config.mjs (if the project is CJS). Also added
    explicit exports of all configs without the .js extensions, which must be
    removed if previously used. See examples in the README.
  • BREAKING: Updated base-configs with reportUnusedInlineConfigs: 'error',
    added in eslint@9.19.0. See
    the docs
    for details. (#133)
  • BREAKING: Updated vitest-config to remove rule no-done-callback. This
    rule has been deprecated since vitest has deprecated done callbacks.
  • Updated to eslint-plugin-unicorn@57.0.0.
  • 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 defineConfig to properly flatten configs
      and apply types.
    • Updated config and examples to use globalIgnores. It is recommended that
      any existing configs be updated to use globalIgnores for clarity.
  • BREAKING: Updated unicorn-config to apply rules applicable to ES Modules
    to *.mjs files. Previously this was included in the esm-config, which
    now only overrides behavior for *.js files that are ES modules.

Fixed

  • Updated base-configs to properly set sourceType: 'module' for all
    *.mjs files.
  • 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:url for changes in GitLab 17.9, where the
    path_prefix is included in the variable $CI_PAGES_URL.

Don't miss a new eslint-config-standard release

NewReleases is sending notifications on new releases.