Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^9.15.0
->^9.17.0
^4.4.2
->^4.5.0
^15.2.10
->^15.2.11
^3.3.3
->^3.4.2
^8.14.0
->^8.18.0
Release Notes
eslint/eslint (eslint)
v9.17.0
Compare Source
v9.16.0
Compare Source
Features
8f70eb1
feat: AddignoreComputedKeys
option insort-keys
rule (#19162) (Milos Djermanovic)Documentation
9eefc8f
docs: fix typos inuse-isnan
(#19190) (루밀LuMir)0c8cea8
docs: switch the order of words inno-unreachable
(#19189) (루밀LuMir)0c19417
docs: add missing backtick tono-async-promise-executor
(#19188) (루밀LuMir)8df9276
docs: add backtick in-0
indescription
ofno-compare-neg-zero
(#19186) (루밀LuMir)7e16e3f
docs: fixcaseSensitive
option's title ofsort-keys
(#19183) (Tanuj Kanti)0c6b842
docs: fix typos inmigration-guide.md
(#19180) (루밀LuMir)353266e
docs: fix a typo indebug.md
(#19179) (루밀LuMir)5ff318a
docs: delete unnecessary horizontal rule(---
) innodejs-api
(#19175) (루밀LuMir)576bcc5
docs: mark more rules as handled by TypeScript (#19164) (Tanuj Kanti)742d054
docs: note thatno-restricted-syntax
can be used with any language (#19148) (Milos Djermanovic)Chores
feb703b
chore: upgrade to@eslint/[email protected]
(#19195) (Francesco Trotta)df9bf95
chore: package.json update for @eslint/js release (Jenkins)f831893
chore: add type forignoreComputedKeys
option ofsort-keys
(#19184) (Tanuj Kanti)3afb8a1
chore: update dependency @eslint/json to ^0.8.0 (#19177) (Milos Djermanovic)1f77c53
chore: addrepository.directory
property topackage.json
(#19165) (루밀LuMir)d460594
chore: update dependency @arethetypeswrong/cli to ^0.17.0 (#19147) (renovate[bot])45cd4ea
refactor: update default options in rules (#19136) (Milos Djermanovic)un-ts/eslint-plugin-import-x (eslint-plugin-import-x)
v4.5.0
Compare Source
Minor Changes
fbf639b
Thanks @SukkaW! - The PR implements the new resolver design proposed in https://github.com/un-ts/eslint-plugin-import-x/issues/40#issuecomment-2381444266For
eslint-plugin-import-x
usersLike the ESLint flat config allows you to use js objects (e.g. import and require) as ESLint plugins, the new
eslint-plugin-import-x
resolver settings allow you to use js objects as custom resolvers through the new settingimport-x/resolver-next
:The new
import-x/resolver-next
no longer accepts strings as the resolver, thus will not be compatible with the ESLint legacy config (a.k.a..eslintrc
). Those who are still using the ESLint legacy config should stick withimport-x/resolver
.In the next major version of
eslint-plugin-import-x
(v5), we will rename the currently existingimport-x/resolver
toimport-x/resolver-legacy
(which allows the existing ESLint legacy config users to use their existing resolver settings), andimport-x/resolver-next
will become the newimport-x/resolver
. When ESLint v9 (the last ESLint version with ESLint legacy config support) reaches EOL in the future, we will removeimport-x/resolver-legacy
.We have also made a few breaking changes to the new resolver API design, so you can't use existing custom resolvers directly with
import-x/resolver-next
:For easier migration, the PR also introduces a compat utility
importXResolverCompat
that you can use in youreslint.config.js
:For custom import resolver developers
This is the new API design of the resolver interface:
You will be able to import
NewResolver
fromeslint-plugin-import-x/types
.The most notable change is that
eslint-plugin-import-x
no longer passes the third argument (options
) to theresolve
function.We encourage custom resolvers' authors to consume the options outside the actual
resolve
function implementation. You can export a factory function to accept the options, this factory function will then be called inside theeslint.config.js
to get the actual resolver:This allows you to create a reusable resolver instance to improve the performance. With the existing version of the resolver interface, because the options are passed to the
resolver
function, you will have to create a resolver instance every time theresolve
function is called:With the factory function pattern, you can create a resolver instance beforehand:
Patch Changes
#184
bc4de89
Thanks @marcalexiei! - fix(no-cycle): improves the type declaration of the ruleno-cycle
’smaxDepth
option#184
bc4de89
Thanks @marcalexiei! - fix(first): improves the type declaration of the rulefirst
's option#184
bc4de89
Thanks @marcalexiei! - fix(no-unused-modules): improves the type declaration of the ruleno-unused-modules
’smissingExports
option#184
bc4de89
Thanks @marcalexiei! - fix(no-deprecated): improve error message when no description is availablev4.4.3
Compare Source
Patch Changes
a428f82
Thanks @SukkaW! - AttachecmaVersion
andsourceType
toparserOptions
during parselint-staged/lint-staged (lint-staged)
v15.2.11
Compare Source
Patch Changes
#1484
bcfe309
Thanks @wormsik! - Escape paths containing spaces when using the "shell" option.#1487
7dd8caa
Thanks @iiroj! - Do not treat submodule root paths as "staged files". This caused lint-staged to fail to a Git error when only updating the revision of a submodule.prettier/prettier (prettier)
v3.4.2
Compare Source
diff
Treat U+30A0 & U+30FB in Katakana Block as CJK (#16796 by @tats-u)
Prettier doesn't treat U+30A0 & U+30FB as Japanese. U+30FB is commonly used in Japanese to represent the delimitation of first and last names of non-Japanese people or “and”. The following “C言語・C++・Go・Rust” means “C language & C++ & Go & Rust” in Japanese.
U+30A0 can be used as the replacement of the
-
in non-Japanese names (e.g. “Saint-Saëns” (Charles Camille Saint-Saëns) can be represented as “サン゠サーンス” in Japanese), but substituted by ASCII hyphen (U+002D) or U+FF1D (full width hyphen) in many cases (e.g. “サン=サーンス” or “サン=サーンス”).Fix comments print on class methods with decorators (#16891 by @fisker)
Fix non-idempotent formatting (#16899 by @seiyab)
This bug fix is not language-specific. You may see similar change in any languages. This fixes regression in 3.4.0 so change caused by it should yield same formatting as 3.3.3.
v3.4.1
Compare Source
diff
Remove unnecessary parentheses around assignment in
v-on
(#16887 by @fisker)<!-- Input --> <template> <button @​click="foo += 2">Click</button> </template> <!-- Prettier 3.4.0 --> <template> <button @​click="(foo += 2)">Click</button> </template> <!-- Prettier 3.4.1 --> <template> <button @​click="foo += 2">Click</button> </template>
v3.4.0
Compare Source
diff
🔗 Release Notes
typescript-eslint/typescript-eslint (typescript-eslint)
v8.18.0
Compare Source
🩹 Fixes
❤️ Thank You
You can read about our versioning strategy and releases on our website.
v8.17.0
Compare Source
This was a version bump only for typescript-eslint to align it with other projects, there were no code changes.
You can read about our versioning strategy and releases on our website.
v8.16.0
Compare Source
This was a version bump only for typescript-eslint to align it with other projects, there were no code changes.
You can read about our versioning strategy and releases on our website.
v8.15.0
Compare Source
🚀 Features
no-unsafe-type-assertion
(#10051)🩹 Fixes
❤️ Thank You
You can read about our versioning strategy and releases on our website.
Configuration
📅 Schedule: Branch creation - "* 0-3 * * 1" (UTC), 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.
This PR was generated by Mend Renovate. View the repository job log.