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

latest releases: 48.0.1, 48.0.0, 47.0.0...
21 months ago

Changed

  • BREAKING: Updated to eslint-plugin-playwright@2.0.0 and add new rules as
    errors:
    prefer-locator,
    prefer-native-locators.
  • BREAKING: Removed eslint-plugin-sonarjs and the associated
    sonarjs-config.js after many issues with compatibility, including still
    not being compatible with eslint v9 (and with no identified plan to achieve
    compatibility even though v8 is officially deprecated), as well as the
    addition of numerous rules that duplicate eslint core rules, creating
    additional maintenance overhead. (#130)
    • Any inline rule disables will be reported as unused disable directives and
      will need to be removed.
    • Any direct inclusion of the sonarjs-config.js config will need to be
      removed.
    • Both recommended*.js configs have been updated to remove the config.
  • BREAKING: With the removal of sonarjs-config.js, which had the
    cognitive-complexity rules with low and high thresholds, updated
    base-configs.js with low and high thresholds for complexity. (#132)
    • The complexity rule was updated to the low threshold of 5,
      and updated to use variant: modified,
      which is closer to the cognitive-complexity implementation.
    • The core/complexity rule was added with the high threshold of 15, also
      using variant: modified. Since re-use of core rules is an experimental
      capability, this must be enabled with environment variable
      ENABLE_ESLINT_CORE_RULE_DUPLICATES=true.

Fixed

  • Updated to latest dependencies:
    @eslint-community/eslint-plugin-eslint-comments@4.4.1,
    eslint-plugin-jsdoc@50.4.3, eslint-plugin-n@17.12.0.

Miscellaneous

  • Updated CI pipelines to use GitLab pages new
    parallel deployments
    feature to publish config-inspector site for MRs. (#131)

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

NewReleases is sending notifications on new releases.