yarn eslint 10.0.0-alpha.0

16 hours ago

Breaking Changes

  • 96512a6 fix!: Remove deprecated rule context methods (#20086) (Nicholas C. Zakas)
  • c69fdac feat!: remove eslintrc support (#20037) (Francesco Trotta)
  • 208b5cc feat!: Use ScopeManager#addGlobals() (#20132) (Milos Djermanovic)
  • a2ee188 fix!: add uniqueItems: true in no-invalid-regexp option (#20155) (Tanuj Kanti)
  • a89059d feat!: Program range span entire source text (#20133) (Pixel998)
  • 39a6424 fix!: assert 'text' is a string across all RuleFixer methods (#20082) (Pixel998)
  • f28fbf8 fix!: Deprecate "always" and "as-needed" options of the radix rule (#20223) (Milos Djermanovic)
  • aa3fb2b fix!: tighten func-names schema (#20119) (Pixel998)
  • f6c0ed0 feat!: report eslint-env comments as errors (#20128) (Francesco Trotta)
  • 4bf739f fix!: remove deprecated LintMessage#nodeType and TestCaseError#type (#20096) (Pixel998)
  • 523c076 feat!: drop support for jiti < 2.2.0 (#20016) (michael faith)
  • 454a292 feat!: update eslint:recommended configuration (#20210) (Pixel998)
  • 4f880ee feat!: remove v10_* and inactive unstable_* flags (#20225) (sethamus)
  • f18115c feat!: no-shadow-restricted-names report globalThis by default (#20027) (sethamus)
  • c6358c3 feat!: Require Node.js ^20.19.0 || ^22.13.0 || >=24 (#20160) (Milos Djermanovic)

Documentation

  • 4b5dbcd docs: reorder v10 migration guide (#20315) (Milos Djermanovic)
  • 5d84a73 docs: Update README (GitHub Actions Bot)
  • 37c8863 docs: fix incorrect anchor link in v10 migration guide (#20299) (Pixel998)
  • 077ff02 docs: add migrate-to-10.0.0 doc (#20143) (唯然)
  • 3822e1b docs: Update README (GitHub Actions Bot)

Chores

  • 1e2cad5 chore: package.json update for @eslint/js release (Jenkins)
  • 9da2679 chore: update @eslint/* dependencies (#20321) (Milos Djermanovic)
  • 0439794 refactor: use types from @eslint/core (#20235) (jaymarvelz)
  • cb51ec2 test: cleanup SourceCode#traverse tests (#20289) (Milos Djermanovic)
  • 897a347 chore: remove restriction for type in rule tests (#20305) (Pixel998)
  • d972098 chore: ignore prettier updates in renovate to keep in sync with trunk (#20304) (Pixel998)
  • a086359 chore: remove redundant fast-glob dev-dependency (#20301) (루밀LuMir)
  • 564b302 chore: install prettier as a dev dependency (#20302) (michael faith)
  • 8257b57 refactor: correct regex for eslint-plugin/report-message-format (#20300) (루밀LuMir)
  • e251671 refactor: extract assertions in RuleTester (#20135) (唯然)
  • 2e7f25e chore: add legacy-peer-deps to .npmrc (#20281) (Milos Djermanovic)
  • 39c638a chore: update eslint-config-eslint dependencies for v10 prereleases (#20278) (Milos Djermanovic)
  • 8533b3f chore: update dependency @eslint/json to ^0.14.0 (#20288) (renovate[bot])
  • 796ddf6 chore: update dependency @eslint/js to ^9.39.1 (#20285) (renovate[bot])

Don't miss a new eslint release

NewReleases is sending notifications on new releases.