Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update eslint (major) #282

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 25, 2023

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
eslint (source) ^8.53.0 -> ^9.18.0 age adoption passing confidence
eslint-config-prettier ^9.0.0 -> ^10.0.1 age adoption passing confidence
eslint-plugin-react-hooks (source) ^4.6.0 -> ^5.1.0 age adoption passing confidence
eslint-plugin-unicorn ^49.0.0 -> ^56.0.1 age adoption passing confidence

Release Notes

eslint/eslint (eslint)

v9.18.0

Compare Source

v9.17.0

Compare Source

v9.16.0

Compare Source

Features

  • 8f70eb1 feat: Add ignoreComputedKeys option in sort-keys rule (#​19162) (Milos Djermanovic)

Documentation

  • 9eefc8f docs: fix typos in use-isnan (#​19190) (루밀LuMir)
  • 0c8cea8 docs: switch the order of words in no-unreachable (#​19189) (루밀LuMir)
  • 0c19417 docs: add missing backtick to no-async-promise-executor (#​19188) (루밀LuMir)
  • 8df9276 docs: add backtick in -0 in description of no-compare-neg-zero (#​19186) (루밀LuMir)
  • 7e16e3f docs: fix caseSensitive option's title of sort-keys (#​19183) (Tanuj Kanti)
  • 0c6b842 docs: fix typos in migration-guide.md (#​19180) (루밀LuMir)
  • 353266e docs: fix a typo in debug.md (#​19179) (루밀LuMir)
  • 5ff318a docs: delete unnecessary horizontal rule(---) in nodejs-api (#​19175) (루밀LuMir)
  • 576bcc5 docs: mark more rules as handled by TypeScript (#​19164) (Tanuj Kanti)
  • 742d054 docs: note that no-restricted-syntax can be used with any language (#​19148) (Milos Djermanovic)

Chores

v9.15.0

Compare Source

v9.14.0

Compare Source

v9.13.0

Compare Source

v9.12.0

Compare Source

Features

Bug Fixes

Documentation

  • ecbd522 docs: Mention code explorer (#​18978) (Nicholas C. Zakas)
  • 7ea4ecc docs: Clarifying the Use of Meta Objects (#​18697) (Amaresh S M)
  • d3e4b2e docs: Clarify how to exclude .js files (#​18976) (Milos Djermanovic)
  • 57232ff docs: Mention plugin-kit in language docs (#​18973) (Nicholas C. Zakas)
  • b80ed00 docs: Update README (GitHub Actions Bot)
  • cb69ab3 docs: Update README (GitHub Actions Bot)
  • 7fb0d95 docs: Update README (GitHub Actions Bot)
  • 493348a docs: Update README (GitHub Actions Bot)
  • 87a582c docs: fix typo in id-match rule (#​18944) (Jay)

Chores

v9.11.1

Compare Source

v9.11.0

Compare Source

Features

  • ec30c73 feat: add "eslint/universal" to export Linter (#​18883) (唯然)
  • c591da6 feat: Add language to types (#​18917) (Nicholas C. Zakas)
  • 492eb8f feat: limit the name given to ImportSpecifier in id-length (#​18861) (Tanuj Kanti)
  • 19c6856 feat: Add no-useless-constructor suggestion (#​18799) (Jordan Thomson)
  • a48f8c2 feat: add type FormatterFunction, update LoadedFormatter (#​18872) (Francesco Trotta)

Bug Fixes

  • 5e5f39b fix: add missing types for no-restricted-exports rule (#​18914) (Kristóf Poduszló)
  • 8f630eb fix: add missing types for no-param-reassign options (#​18906) (Kristóf Poduszló)
  • d715781 fix: add missing types for no-extra-boolean-cast options (#​18902) (Kristóf Poduszló)
  • 2de5742 fix: add missing types for no-misleading-character-class options (#​18905) (Kristóf Poduszló)
  • c153084 fix: add missing types for no-implicit-coercion options (#​18903) (Kristóf Poduszló)
  • fa11b2e fix: add missing types for no-empty-function options (#​18901) (Kristóf Poduszló)
  • a0deed1 fix: add missing types for camelcase options (#​18897) (Kristóf Poduszló)

Documentation

  • e4e5709 docs: correct prefer-object-has-own type definition comment (#​18924) (Nitin Kumar)
  • 91cbd18 docs: add unicode abbreviations in no-irregular-whitespace rule (#​18894) (Alix Royere)
  • 59cfc0f docs: clarify resultsMeta in LoadedFormatter type (#​18881) (Milos Djermanovic)
  • adcc50d docs: Update README (GitHub Actions Bot)
  • 4edac1a docs: Update README (GitHub Actions Bot)

Build Related

  • 959d360 build: Support updates to previous major versions (#​18871) (Milos Djermanovic)

Chores

v9.10.0

Compare Source

v9.9.1

Compare Source

v9.9.0

Compare Source

Features

  • 41d0206 feat: Add support for TS config files (#​18134) (Arya Emami)
  • 3a4eaf9 feat: add suggestion to require-await to remove async keyword (#​18716) (Dave)

Documentation

  • 9fe068c docs: how to author plugins with configs that extend other configs (#​18753) (Alec Gibson)
  • 48117b2 docs: add version support page in the side navbar (#​18738) (Amaresh S M)
  • fec2951 docs: add version support page to the dropdown (#​18730) (Amaresh S M)
  • 38a0661 docs: Fix typo (#​18735) (Zaina Al Habash)
  • 3c32a9e docs: Update yarn command for creating ESLint config (#​18739) (Temitope Ogunleye)
  • f9ac978 docs: Update README (GitHub Actions Bot)

Chores

v9.8.0

Compare Source

v9.7.0

Compare Source

Features

  • 7bd9839 feat: add support for es2025 duplicate named capturing groups (#​18630) (Yosuke Ota)
  • 1381394 feat: add regex option in no-restricted-imports (#​18622) (Nitin Kumar)

Bug Fixes

  • 14e9f81 fix: destructuring in catch clause in no-unused-vars (#​18636) (Francesco Trotta)

Documentation

  • 9f416db docs: Add Powered by Algolia label to the search. (#​18633) (Amaresh S M)
  • c8d26cb docs: Open JS Foundation -> OpenJS Foundation (#​18649) (Milos Djermanovic)
  • 6e79ac7 docs: loadESLint does not support option cwd (#​18641) (Francesco Trotta)

Chores

v9.6.0

Compare Source

v9.5.0

Compare Source

v9.4.0

Compare Source

v9.3.0

Compare Source

v9.2.0

Compare Source

v9.1.1

Compare Source

v9.1.0

Compare Source

v9.0.0

Compare Source

v8.57.1

Compare Source

v8.57.0

Compare Source

Features

  • 1120b9b feat: Add loadESLint() API method for v8 (#​18098) (Nicholas C. Zakas)
  • dca7d0f feat: Enable eslint.config.mjs and eslint.config.cjs (#​18066) (Nitin Kumar)

Bug Fixes

  • 2196d97 fix: handle absolute file paths in FlatRuleTester (#​18064) (Nitin Kumar)
  • 69dd1d1 fix: Ensure config keys are printed for config errors (#​18067) (Nitin Kumar)
  • 9852a31 fix: deep merge behavior in flat config (#​18065) (Nitin Kumar)
  • 4c7e9b0 fix: allow circular references in config (#​18056) (Milos Djermanovic)

Documentation

Chores

v8.56.0

Compare Source

Features
  • 0dd9704 feat: Support custom severity when reporting unused disable directives (#​17212) (Bryan Mishkin)
  • 31a7e3f feat: fix no-restricted-properties false negatives with unknown objects (#​17818) (Arka Pratim Chaudhuri)
Bug Fixes
  • 7d5e5f6 fix: TypeError: fs.exists is not a function on read-only file system (#​17846) (Francesco Trotta)
  • 74739c8 fix: suggestion with invalid syntax in no-promise-executor-return rule (#​17812) (Bryan Mishkin)
Documentation
  • 9007719 docs: update link in ways-to-extend.md (#​17839) (Amel SELMANE)
  • 3a22236 docs: Update README (GitHub Actions Bot)
  • 54c3ca6 docs: fix migration-guide example (#​17829) (Tanuj Kanti)
  • 4391b71 docs: check config comments in rule examples (#​17815) (Francesco Trotta)
  • fd28363 docs: remove mention about ESLint stylistic rules in readme (#​17810) (Zwyx)
  • 48ed5a6 docs: Update README (GitHub Actions Bot)
Chores

v8.55.0

Compare Source

Features

  • 8c9e6c1 feat: importNamePattern option in no-restricted-imports (#​17721) (Tanuj Kanti)

Documentation

  • 83ece2a docs: fix typo --rules -> --rule (#​17806) (OKURA Masafumi)
  • fffca5c docs: remove "Open in Playground" buttons for removed rules (#​17791) (Francesco Trotta)
  • a6d9442 docs: fix correct/incorrect examples of rules (#​17789) (Tanuj Kanti)
  • 383e999 docs: update and fix examples for no-unused-vars (#​17788) (Tanuj Kanti)
  • 5a8efd5 docs: add specific stylistic rule for each deprecated rule (#​17778) (Etienne)

Chores

v8.54.0

Compare Source

Features

  • a7a883b feat: for-direction rule add check for condition in reverse order (#​17755) (Angelo Annunziata)
  • 1452dc9 feat: Add suggestions to no-console (#​17680) (Joel Mathew Koshy)
  • 21ebf8a feat: update no-array-constructor rule (#​17711) (Francesco Trotta)

Bug Fixes

  • 98926e6 fix: Ensure that extra data is not accidentally stored in the cache file (#​17760) (Milos Djermanovic)
  • e8cf9f6 fix: Make dark scroll bar in dark theme (#​17753) (Pavel)
  • 3cbeaad fix: Use cwd constructor option as config basePath in Linter (#​17705) (Milos Djermanovic)

Documentation

  • becfdd3 docs: Make clear when rules are removed (#​17728) (Nicholas C. Zakas)
  • 05d6e99 docs: update "Submit a Pull Request" page (#​17712) (Francesco Trotta)
  • eb2279e docs: display info about deprecated rules (#​17749) (Percy Ma)
  • d245326 docs: Correct working in migrating plugin docs (#​17722) (Filip Tammergård)

Chores

prettier/eslint-config-prettier (eslint-config-prettier)

v10.0.1

Compare Source

eslint-config-prettier

10.0.0

Major Changes

Versions before 10.0.0

Version 9.1.0 (2023-12-02)
  • Added: [unicorn/template-indent], (as a [special rule][unicorn/template-indent-special]). Thanks to Gürgün Dayıoğlu (@​gurgunday)!
  • Changed: All the [formatting rules that were deprecated in ESLint 8.53.0][deprecated-8.53.0] are now excluded if you set the ESLINT_CONFIG_PRETTIER_NO_DEPRECATED environment variable.
Version 9.0.0 (2023-08-05)
  • Added: The CLI helper tool now works with eslint.config.js (flat config). Just like ESLint itself, the CLI tool automatically first tries eslint.config.js and then eslintrc, and you can force which one to use by setting the [ESLINT_USE_FLAT_CONFIG] environment variable. Note that the config of eslint-config-prettier has always been compatible with eslint.config.js (flat config) – it was just the CLI tool that needed updating. On top of that, the docs have been updated to mention how to use both eslint.config.js (flat config) and eslintrc, and the tests now test both config systems.
  • Changed: [unicode-bom] is no longer turned off. Prettier preserves the BOM if you have one, and does not add one if missing. It was wrong of eslint-config-prettier to disable that rule. If you get ESLint errors after upgrading, either add "unicode-bom": "off" to your config to disable it again, or run ESLint with --fix to fix all files according to the rule (add or remove BOM). Thanks to Nicolas Stepien (@​nstepien)!
Version 8.10.0 (2023-08-03)
  • Added: [max-statements-per-line]. Thanks to @​Zamiell!
Version 8.9.0 (2023-07-27)
  • Added: [vue/array-element-newline]. Thanks to @​xcatliu!
Version 8.8.0 (2023-03-20)
  • Added: [@​typescript-eslint/lines-around-comment]. Thanks to @​ttionya!
Version 8.7.0 (2023-03-06)
  • Added: [@​typescript-eslint/block-spacing]. Thanks to @​ttionya!
  • Added: [@​typescript-eslint/key-spacing]. Thanks to @​ttionya!
Version 8.6.0 (2023-01-02)
  • Added: [vue/multiline-ternary]. Thanks to @​xcatliu!
Version 8.5.0 (2022-03-02)
  • Added: [@​typescript-eslint/space-before-blocks]. Thanks to Masafumi Koba (@​ybiquitous)!
Version 8.4.0 (2022-02-19)
Version 8.3.0 (2021-04-24)
  • Added: Support for [@​babel/eslint-plugin]. Thanks to Chip Zhang (@​ChipZhang) for the heads-up! ([eslint-plugin-babel] is still supported, too.)
Version 8.2.0 (2021-04-13)
  • Added: [flowtype/quotes]. Thanks to Martin Zlámal (@​mrtnzlml)!
Version 8.1.0 (2021-02-24)
  • Added: [flowtype/object-type-curly-spacing].
  • Added: Dummy files for the configs removed in 8.0.0. The dummy files throw an error that try to guide you how to upgrade.
Version 8.0.0 (2021-02-21)
  • Changed: All configs have been merged into one!

    To upgrade, change:

    {
      "extends": [
        "some-other-config-you-use",
        "prettier",
        "prettier/@​typescript-eslint",
        "prettier/babel",
        "prettier/flowtype",
        "prettier/react",
        "prettier/standard",
        "prettier/unicorn",
        "prettier/vue"
      ]
    }

    Into:

    {
      "extends": [
        "some-other-config-you-use",
        "prettier"
      ]
    }

    The "prettier" config now includes not just ESLint core rules, but also rules from all plugins. Much simpler!

    So … what’s the catch? Why haven’t we done this earlier? Turns out it’s just a sad mistake. I (@​lydell) was confused when testing, and thought that turning off unknown rules in a config was an error. Thanks to Georgii Dolzhykov (@​thorn0) for pointing this out!

    If you use [eslint-plugin-prettier], all you need is [plugin:prettier/recommended]:

    {
      "extends": [
        "some-other-config-you-use",
        "plugin:prettier/recommended"
      ]
    }

    (The ["prettier/prettier" config][prettier-prettier-config] still exists separately. It’s the odd one out. The main "prettier" config does not include the rules from it.)

  • Changed: The CLI helper tool now only prints warnings for [arrow-body-style] and [prefer-arrow-callback], just like other “special rules.” This means that if you’ve decided to use those rules and [eslint-plugin-prettier] at the same time, you’ll get warnings but exit code zero (success).

Version 7.2.0 (2021-01-18)
  • Added: [@​typescript-eslint/object-curly-spacing].
  • Added: [react/jsx-newline].
Version 7.1.0 (2020-12-19)
  • Added: [unicorn/empty-brace-spaces]. Thanks to fisker Cheung (@​fisker)!
Version 7.0.0 (2020-12-05)
  • Changed: At least ESLint 7.0.0 is now required.

  • Changed: [arrow-body-style] and [prefer-arrow-callback] are no longer turned off by default. They only need to be turned off if you use [eslint-plugin-prettier]. If you do, add "prettier/prettier" to your "extends" array to turn them off again.

    {
      "extends": ["prettier", "prettier/prettier"],
      "plugins": ["prettier"],
      "rules": {
        "prettier/prettier": "error"
      }
    }

    Alternatively, update [eslint-plugin-prettier] to version 3.2.0 or later which automatically turns off these two rules in its "plugin:prettier/recommended" config.

    The CLI helper tool only warns about these rules if you have the "prettier/prettier" rule enabled for a file.

  • Changed: no-tabs is now a validatable rule. If you use it, you should enable allowIndentationTabs so that the rule works regardless of your Prettier config:

    {
      "rules": {
        "no-tabs": ["error", { "allowIndentationTabs": true }]
      }
    }
  • Changed: The CLI helper tool is now called just eslint-config-prettier instead of eslint-config-prettier-check. This is so that npx eslint-config-prettier always works regardless of whether you have already installed eslint-config-prettier or not: If you have, the local installation is used; if you haven’t, npx downloads a temporary copy.

  • Changed: The CLI helper tool no longer requires you to pipe the output of eslint --print-config to it. Instead, it does that automatically for you via ESLint API:s added in ESLint v7.

    Before:

    npx eslint --print-config index.js | npx eslint-config-prettier-check
    

    After:

    npx eslint-config-prettier index.js
    
  • Improved: The npm package is now 75% smaller.

Version 6.15.0 (2020-10-27)
  • Added: [@​typescript-eslint/space-infix-ops]. Thanks to Masafumi Koba (@​ybiquitous)!
Version 6.14.0 (2020-10-21)
  • Added: New [eslint-plugin-vue] rules: [vue/array-bracket-newline] and [vue/block-tag-newline]. Thanks to @​xcatliu!
Version 6.13.0 (2020-10-16)
  • Added: New rules in [eslint-plugin-vue] 7.0 (which supports Vue 3.0). Thanks to @​xcatliu!
Version 6.12.0 (2020-09-25)
  • Added: [@​typescript-eslint/comma-dangle]. Thanks to Masafumi Koba (@​ybiquitous)!
Version 6.11.0 (2020-04-21)
  • Added: [@​typescript-eslint/keyword-spacing]. Thanks to Hans Bergren (@​hbergren)!
Version 6.10.1 (2020-03-22)
  • Improved: Recommend using npx when running the CLI helper tool.
  • Updated: Mention that eslint-config-prettier has been tested with Prettier 2.0 and the latest versions of plugins.
Version 6.10.0 (2020-01-28)
  • Added: [@​typescript-eslint/comma-spacing]. Thanks to Masafumi Koba (@​ybiquitous)!
Version 6.9.0 (2019-12-27)
Version 6.8.0 (2019-12-25)
  • Added: [@​typescript-eslint/no-extra-semi]. Thanks to @​xcatliu!
Version 6.7.0 (2019-11-19)
  • Added: [@​typescript-eslint/space-before-function-paren]. Thanks to Masafumi Koba (@​ybiquitous)!
Version 6.6.0 (2019-11-17)
  • Added: New [eslint-plugin-vue] rules: [vue/dot-location] and [vue/keyword-spacing]. Thanks to @​xcatliu!
Version 6.5.0 (2019-10-26)
  • Added: Support for [excluding deprecated rules]. Thanks to Alex Ilyaev (@​alexilyaev)!
Version 6.4.0 (2019-10-05)
  • Added: [unicorn/no-nested-ternary]. Thanks to Yang Mingshan (@​yangmingshan)!
Version 6.3.0 (2019-09-10)
  • Added: [@​typescript-eslint/brace-style]. Thanks to Masafumi Koba (@​ybiquitous)!
Version 6.2.0 (2019-09-03)
  • Added: [@​typescript-eslint/quotes] (as a [special rule][@​typescript-eslint/quotes-special]). Thanks to Masafumi Koba (@​ybiquitous)!
Version 6.1.0 (2019-08-19)
  • Added: [function-call-argument-newline] (new in ESLint 6.2.0). Thanks to Masafumi Koba (@​ybiquitous)!
Version 6.0.0 (2019-06-25)
  • Changed: The CLI helper tool now considers [no-confusing-arrow] to conflict if you use the default value of its allowParens option. The default was changed to true in ESLint 6, which conflicts with Prettier.

    If the CLI helper tool gives you errors about this after upgrading, the solution is to change this:

    {
      "rules": {
        "no-confusing-arrow": ["error"]
      }
    }

    Into this:

    {
      "rules": {
        "no-confusing-arrow": ["error", { "allowParens": false }]
      }
    }

    The latter works in both ESLint 6 as well as in ESLint 5 and older.

  • Improved: eslint --print-config usage instructions. The CLI tool help text as well as the


Configuration

📅 Schedule: Branch creation - "before 8am on monday" in timezone America/Los_Angeles, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot changed the title chore(deps): update dependency eslint-plugin-unicorn to v50 chore(deps): update dependency eslint-plugin-unicorn to v51 Feb 6, 2024
@renovate renovate bot force-pushed the renovate/major-eslint branch 2 times, most recently from 861eece to f05b4de Compare February 6, 2024 21:57
@renovate renovate bot changed the title chore(deps): update dependency eslint-plugin-unicorn to v51 chore(deps): update dependency eslint-plugin-unicorn to v52 Apr 3, 2024
@renovate renovate bot force-pushed the renovate/major-eslint branch 2 times, most recently from e0aa412 to 572ee7d Compare April 5, 2024 23:16
@renovate renovate bot changed the title chore(deps): update dependency eslint-plugin-unicorn to v52 chore(deps): update eslint (major) Apr 5, 2024
@renovate renovate bot force-pushed the renovate/major-eslint branch 2 times, most recently from c27b15a to 0c6befe Compare April 22, 2024 22:51
@renovate renovate bot force-pushed the renovate/major-eslint branch 2 times, most recently from 4bc1a88 to bf3229e Compare May 10, 2024 07:17
@renovate renovate bot force-pushed the renovate/major-eslint branch from bf3229e to 262e04e Compare May 18, 2024 01:02
@renovate renovate bot force-pushed the renovate/major-eslint branch from 262e04e to b96ef55 Compare May 31, 2024 22:48
@renovate renovate bot force-pushed the renovate/major-eslint branch 2 times, most recently from 409e83f to c2e1763 Compare June 14, 2024 21:28
@renovate renovate bot force-pushed the renovate/major-eslint branch from c2e1763 to ae361b4 Compare June 28, 2024 19:32
@renovate renovate bot force-pushed the renovate/major-eslint branch from ae361b4 to d3089f7 Compare July 13, 2024 00:01
@renovate renovate bot force-pushed the renovate/major-eslint branch 2 times, most recently from bd80861 to 16854e7 Compare July 26, 2024 21:56
@renovate renovate bot force-pushed the renovate/major-eslint branch from 16854e7 to 6a62d82 Compare August 9, 2024 23:42
@renovate renovate bot force-pushed the renovate/major-eslint branch from 6a62d82 to c198616 Compare August 23, 2024 22:31
@renovate renovate bot force-pushed the renovate/major-eslint branch from c198616 to 54fbb56 Compare September 6, 2024 21:03
@renovate renovate bot force-pushed the renovate/major-eslint branch 2 times, most recently from 02bad1c to 3b8e9c7 Compare September 23, 2024 21:35
@renovate renovate bot force-pushed the renovate/major-eslint branch 2 times, most recently from 7ad7aef to 710cd90 Compare October 4, 2024 23:03
@renovate renovate bot force-pushed the renovate/major-eslint branch from 710cd90 to 792d323 Compare October 11, 2024 13:52
@renovate renovate bot force-pushed the renovate/major-eslint branch from 792d323 to 620d419 Compare October 18, 2024 23:47
@renovate renovate bot force-pushed the renovate/major-eslint branch from 620d419 to 5ef0faf Compare November 1, 2024 20:13
@renovate renovate bot force-pushed the renovate/major-eslint branch from 5ef0faf to 22006e6 Compare November 15, 2024 19:58
@renovate renovate bot force-pushed the renovate/major-eslint branch from 22006e6 to 02bc83f Compare November 19, 2024 11:24
@renovate renovate bot force-pushed the renovate/major-eslint branch 2 times, most recently from d66e7e8 to 6d50dd6 Compare December 5, 2024 20:25
@renovate renovate bot force-pushed the renovate/major-eslint branch from 6d50dd6 to 0a16519 Compare December 13, 2024 23:13
@renovate renovate bot force-pushed the renovate/major-eslint branch from 0a16519 to f0a4e18 Compare January 11, 2025 01:24
@renovate renovate bot force-pushed the renovate/major-eslint branch from f0a4e18 to 9b1cc7e Compare January 13, 2025 17:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants