Leaflet / Leaflet

🍃 JavaScript library for mobile-friendly interactive maps 🇺🇦
https://leafletjs.com
BSD 2-Clause "Simplified" License
40.17k stars 5.75k forks source link

Bump eslint from 8.57.0 to 9.0.0 #9319

Closed dependabot[bot] closed 1 month ago

dependabot[bot] commented 1 month ago

Bumps eslint from 8.57.0 to 9.0.0.

Release notes

Sourced from eslint's releases.

v9.0.0

Breaking Changes

  • b7cf3bd fix!: correct camelcase rule schema for allow option (#18232) (eMerzh)
  • 09bd7fe feat!: move AST traversal into SourceCode (#18167) (Nicholas C. Zakas)
  • 79a95eb feat!: disallow multiple configuration comments for same rule (#18157) (Milos Djermanovic)
  • 9163646 feat!: Rule Tester checks for missing placeholder data in the message (#18073) (fnx)
  • 3c4d51d feat!: default for enforceForClassMembers in no-useless-computed-key (#18054) (Francesco Trotta)
  • 47e60f8 feat!: Stricter rule test validations (#17654) (fnx)
  • 1a94589 feat!: no-unused-vars default caughtErrors to 'all' (#18043) (Josh Goldberg ✨)
  • 57089cb feat!: no-restricted-imports allow multiple config entries for same path (#18021) (Milos Djermanovic)
  • 2e1d549 feat!: detect duplicate test cases (#17955) (Bryan Mishkin)
  • 701f1af feat!: no-inner-declaration new default behaviour and option (#17885) (Tanuj Kanti)
  • bde5105 fix!: handle --output-file for empty output when saving to disk (#17957) (Nitin Kumar)
  • 07107a5 fix!: upgrade eslint-scope@8.0.0 (#17942) (Milos Djermanovic)
  • 3ee0f6c fix!: no-unused-vars varsIgnorePattern behavior with catch arguments (#17932) (Tanuj Kanti)
  • 51f8bc8 fix!: configuration comments with just severity should retain options (#17945) (Milos Djermanovic)
  • d191bdd feat!: Remove CodePath#currentSegments (#17936) (Milos Djermanovic)
  • 946ae00 feat!: FlatRuleTester -> RuleTester (#17922) (Nicholas C. Zakas)
  • baff28c feat!: remove no-inner-declarations from eslint:recommended (#17920) (Milos Djermanovic)
  • cadfbcd feat!: Rename FlatESLint to ESLint (#17914) (Nicholas C. Zakas)
  • d1018fc feat!: skip running warnings in --quiet mode (#17274) (Maddy Miller)
  • fb81b1c feat!: Set default schema: [], drop support for function-style rules (#17792) (Milos Djermanovic)
  • 0b21e1f feat!: add two more cases to no-implicit-coercion (#17832) (Gürgün Dayıoğlu)
  • 2916c63 feat!: Switch Linter to flat config by default (#17851) (Nicholas C. Zakas)
  • 200518e fix!: Parsing 'exported' comment using parseListConfig (#17675) (amondev)
  • bdd6ba1 feat!: Remove valid-jsdoc and require-jsdoc (#17694) (Nicholas C. Zakas)
  • 12be307 fix!: Behavior of CLI when no arguments are passed (#17644) (Nicholas C. Zakas)
  • 8fe8c56 feat!: Update shouldUseFlatConfig and CLI so flat config is default (#17748) (Nicholas C. Zakas)
  • 60dea3e feat!: deprecate no-new-symbol, recommend no-new-native-nonconstructor (#17710) (Francesco Trotta)
  • 5aa9c49 feat!: check for parsing errors in suggestion fixes (#16639) (Bryan Mishkin)
  • b3e0bb0 feat!: assert suggestion messages are unique in rule testers (#17532) (Josh Goldberg ✨)
  • e563c52 feat!: no-invalid-regexp make allowConstructorFlags case-sensitive (#17533) (Josh Goldberg ✨)
  • e5f02c7 fix!: no-sequences rule schema correction (#17878) (MHO)
  • 6ee3e9e feat!: Update eslint:recommended configuration (#17716) (Milos Djermanovic)
  • c2cf85a feat!: drop support for string configurations in flat config array (#17717) (Milos Djermanovic)
  • c314fd6 feat!: Remove SourceCode#getComments() (#17715) (Milos Djermanovic)
  • ae78ff1 feat!: Remove deprecated context methods (#17698) (Nicholas C. Zakas)
  • f71c328 feat!: Swap FlatESLint-ESLint, FlatRuleTester-RuleTester in API (#17823) (Nicholas C. Zakas)
  • 5304da0 feat!: remove formatters except html, json(-with-metadata), and stylish (#17531) (Josh Goldberg ✨)
  • e1e827f feat!: Require Node.js ^18.18.0 || ^20.9.0 || >=21.1.0 (#17725) (Milos Djermanovic)

Features

  • d54a412 feat: Add --inspect-config CLI flag (#18270) (Nicholas C. Zakas)
  • 97ce45b feat: Add reportUsedIgnorePattern option to no-unused-vars rule (#17662) (Pearce Ropion)
  • 3e9fcea feat: Show config names in error messages (#18256) (Nicholas C. Zakas)
  • de40874 feat: Rule Performance Statistics for flat ESLint (#17850) (Mara Kiefer)
  • d85c436 feat: use-isnan report NaN in indexOf and lastIndexOf with fromIndex (#18225) (Tanuj Kanti)
  • b8fb572 feat: add reportUnusedFallthroughComment option to no-fallthrough rule (#18188) (Kirk Waiblinger)
  • 1c173dc feat: add ignoreClassWithStaticInitBlock option to no-unused-vars (#18170) (Tanuj Kanti)
  • a451b32 feat: make no-misleading-character-class report more granular errors (#18082) (Francesco Trotta)

... (truncated)

Changelog

Sourced from eslint's changelog.

v9.0.0 - April 5, 2024

  • 19f9a89 chore: Update dependencies for v9.0.0 (#18275) (Nicholas C. Zakas)
  • 7c957f2 chore: package.json update for @​eslint/js release (Jenkins)
  • d73a33c chore: ignore /docs/v8.x in link checker (#18274) (Milos Djermanovic)
  • d54a412 feat: Add --inspect-config CLI flag (#18270) (Nicholas C. Zakas)
  • e151050 docs: update get-started to the new @eslint/create-config (#18217) (唯然)
  • 610c148 fix: Support using declarations in no-lone-blocks (#18269) (Kirk Waiblinger)
  • 44a81c6 chore: upgrade knip (#18272) (Lars Kappert)
  • 94178ad docs: mention about name field in flat config (#18252) (Anthony Fu)
  • 1765c24 docs: add Troubleshooting page (#18181) (Josh Goldberg ✨)
  • e80b60c chore: remove code for testing version selectors (#18266) (Milos Djermanovic)
  • 96607d0 docs: version selectors synchronization (#18260) (Milos Djermanovic)
  • e508800 fix: rule tester ignore irrelevant test case properties (#18235) (fnx)
  • a129acb fix: flat config name on ignores object (#18258) (Nicholas C. Zakas)
  • 97ce45b feat: Add reportUsedIgnorePattern option to no-unused-vars rule (#17662) (Pearce Ropion)
  • 651ec91 docs: remove /* eslint-env */ comments from rule examples (#18249) (Milos Djermanovic)
  • 950c4f1 docs: Update README (GitHub Actions Bot)
  • 3e9fcea feat: Show config names in error messages (#18256) (Nicholas C. Zakas)
  • b7cf3bd fix!: correct camelcase rule schema for allow option (#18232) (eMerzh)
  • 12f5746 docs: add info about dot files and dir in flat config (#18239) (Tanuj Kanti)
  • b93f408 docs: update shared settings example (#18251) (Tanuj Kanti)
  • 26384d3 docs: fix ecmaVersion in one example, add checks (#18241) (Milos Djermanovic)
  • 7747097 docs: Update PR review process (#18233) (Nicholas C. Zakas)
  • b07d427 docs: fix typo (#18246) (Kirill Gavrilov)
  • a98babc chore: add npm script to run WebdriverIO test (#18238) (Francesco Trotta)
  • 9b7bd3b chore: update dependency markdownlint to ^0.34.0 (#18237) (renovate[bot])
  • 778082d docs: add Glossary page (#18187) (Josh Goldberg ✨)
  • dadc5bf fix: constructor-super false positives with loops (#18226) (Milos Djermanovic)
  • de40874 feat: Rule Performance Statistics for flat ESLint (#17850) (Mara Kiefer)
  • d85c436 feat: use-isnan report NaN in indexOf and lastIndexOf with fromIndex (#18225) (Tanuj Kanti)
  • b185eb9 9.0.0-rc.0 (Jenkins)
  • 26010c2 Build: changelog update for 9.0.0-rc.0 (Jenkins)
  • 297416d chore: package.json update for eslint-9.0.0-rc.0 (#18223) (Francesco Trotta)
  • d363c51 chore: package.json update for @​eslint/js release (Jenkins)
  • 239a7e2 docs: Clarify the description of sort-imports options (#18198) (gyeongwoo park)
  • 09bd7fe feat!: move AST traversal into SourceCode (#18167) (Nicholas C. Zakas)
  • b91f9dc build: fix TypeError in prism-eslint-hooks.js (#18209) (Francesco Trotta)
  • 4769c86 docs: fix incorrect example in no-lone-blocks (#18215) (Tanuj Kanti)
  • 1b841bb chore: fix some comments (#18213) (avoidaway)
  • b8fb572 feat: add reportUnusedFallthroughComment option to no-fallthrough rule (#18188) (Kirk Waiblinger)
  • ae8103d fix: load plugins in the CLI in flat config mode (#18185) (Francesco Trotta)
  • 5251327 docs: Update README (GitHub Actions Bot)
  • 29c3595 chore: remove repetitive words (#18193) (cuithon)
  • 1dc8618 docs: Update README (GitHub Actions Bot)
  • acc2e06 chore: Introduce Knip (#18005) (Lars Kappert)
  • ba89c73 9.0.0-beta.2 (Jenkins)
  • d7ec0d1 Build: changelog update for 9.0.0-beta.2 (Jenkins)
  • 7509276 chore: upgrade @​eslint/js@​9.0.0-beta.2 (#18180) (Milos Djermanovic)
  • 96087b3 chore: package.json update for @​eslint/js release (Jenkins)

... (truncated)

Commits


Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
jonkoops commented 1 month ago

This will be a large upgrade effort. I'll close this out for now.

dependabot[bot] commented 1 month ago

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.