Skip to content

v34.0.0

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 05 Aug 10:50

⚠ BREAKING CHANGES

  • jsdoc: With the new rule jsdoc/check-template-names some of the existing JSDoc comments using @template declarations may produce an error.
  • As a part of the migration to ESLint 9 and making things more explicit, we decided to drop the special syntax from the configurations.
    Some rules that previously had a severity of “warning” now have a severity of “error”.
    Although most of them were fixed automatically, something unexpected can happen.
    Autofix of such rules is still working.

Features

  • base: Add unicorn/no-length-as-slice-end rule (e3bb7a2)
  • base: Add unicorn/no-negation-in-equality-check rule (7d4081f)
  • base: Take account of ported stylistic line-comment-position and multiline-comment-style rules (dae9626)
  • html: Add @html-eslint/attrs-newline rule (ac3de36)
  • jest: Add jest/prefer-jest-mocked rule (ec187be)
  • jsdoc: Add jsdoc/check-template-names rule (acfe4ec)
  • jsdoc: Take account of jsdoc/convert-to-jsdoc-comments rule (9a841f6)
  • jsdoc: Take account of jsdoc/require-template rule (a3e9455)

CI improvements

  • Extract latest changelog entry as GH release description (08b2caa)

Refactoring

  • Completely remove special syntax from the repo (8259681)
  • Remove special syntax for a rules that should not be autofixed (50fb12b)
  • Remove special syntax for a rules turned off (b4af41d)
  • Remove special syntax for a rules with error severity (f2d356b)
  • Remove special syntax for a rules with warn severity (15d6025)

Tests

  • Remove tests for removed autofixable mechanic (c0fa73f)

Bug fixes

  • html: Fit new configuration object for @html-eslint/require-closing-tags rule (b9b407c)
  • vitest: Disable autofix for vitest/no-focused-tests rule (5cb450b)
  • yaml: Disable the base no-irregular-whitespace rule for yaml files (b50dfc3)