-
Notifications
You must be signed in to change notification settings - Fork 0
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: update eslint (minor) #198
base: main
Are you sure you want to change the base?
Conversation
|
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
ac636f5
to
d2315c8
Compare
d2315c8
to
035a16f
Compare
035a16f
to
c559c43
Compare
This PR contains the following updates:
^6.11.0
->^6.21.0
^6.11.0
->^6.21.0
^8.54.0
->^8.57.1
^9.0.0
->^9.1.0
^2.29.1
->^2.31.0
Release Notes
typescript-eslint/typescript-eslint (@typescript-eslint/eslint-plugin)
v6.21.0
Compare Source
🚀 Features
export plugin metadata
allow
parserOptions.project: false
eslint-plugin: add rule prefer-find
🩹 Fixes
eslint-plugin: [no-unused-vars] don't report on types referenced in export assignment expression
eslint-plugin: [switch-exhaustiveness-check] better support for intersections, infinite types, non-union values
eslint-plugin: [consistent-type-imports] dont report on types used in export assignment expressions
eslint-plugin: [no-unnecessary-condition] handle left-hand optional with exactOptionalPropertyTypes option
eslint-plugin: [class-literal-property-style] allow getter when same key setter exists
eslint-plugin: [no-unnecessary-type-assertion] provide valid fixes for assertions with extra tokens before
as
keyword❤️ Thank You
You can read about our versioning strategy and releases on our website.
v6.20.0
Compare Source
🚀 Features
🩹 Fixes
eslint-plugin: [no-useless-template-literals] incorrect bigint autofix result
eslint-plugin: [prefer-nullish-coalescing] treat any/unknown as non-nullable
eslint-plugin: [no-useless-template-literals] report Infinity & NaN
eslint-plugin: [prefer-readonly] disable checking accessors
❤️ Thank You
You can read about our versioning strategy and releases on our website.
v6.19.1
Compare Source
🩹 Fixes
type-utils: preventing isUnsafeAssignment infinite recursive calls
eslint-plugin: [no-unnecessary-condition] fix false positive for type variable
❤️ Thank You
You can read about our versioning strategy and releases on our website.
v6.19.0
Compare Source
🚀 Features
eslint-plugin: [prefer-promise-reject-errors] add rule
eslint-plugin: [no-array-delete] add new rule
eslint-plugin: [no-useless-template-literals] add fix suggestions
🩹 Fixes
eslint-plugin: [no-unnecessary-type-assertion] detect unnecessary non-null-assertion on a call expression
eslint-plugin: [no-unnecesary-type-assertion] treat unknown/any as nullable
❤️ Thank You
You can read about our versioning strategy and releases on our website.
v6.18.1
Compare Source
🩹 Fixes
eslint-plugin: [no-non-null-assertion] provide valid fix when member access is on next line
eslint-plugin: [no-unnecessary-condition] improve checking optional callee
eslint-plugin: [prefer-readonly] support modifiers of unions and intersections
eslint-plugin: [switch-exhaustiveness-check] fix new allowDefaultCaseForExhaustiveSwitch option
❤️ Thank You
You can read about our versioning strategy and releases on our website.
v6.18.0
Compare Source
🚀 Features
typescript-estree: throw on invalid update expressions
eslint-plugin: [no-var-requires, no-require-imports] allow option
❤️ Thank You
You can read about our versioning strategy and releases on our website.
v6.17.0
Compare Source
Bug Fixes
patterns
orpaths
in options are empty (#8108) (675e987)Features
default
case on an already exhaustiveswitch
(#7539) (6a219bd)You can read about our versioning strategy and releases on our website.
v6.16.0
Compare Source
Bug Fixes
Features
You can read about our versioning strategy and releases on our website.
v6.15.0
Compare Source
Features
You can read about our versioning strategy and releases on our website.
v6.14.0
Compare Source
Bug Fixes
no-unsafe-unary-minus
(#7998) (705370a)Features
You can read about our versioning strategy and releases on our website.
6.13.2 (2023-12-04)
Note: Version bump only for package @typescript-eslint/eslint-plugin
You can read about our versioning strategy and releases on our website.
6.13.1 (2023-11-28)
Note: Version bump only for package @typescript-eslint/eslint-plugin
You can read about our versioning strategy and releases on our website.
v6.13.2
Compare Source
Note: Version bump only for package @typescript-eslint/eslint-plugin
You can read about our versioning strategy and releases on our website.
v6.13.1
Compare Source
Note: Version bump only for package @typescript-eslint/eslint-plugin
You can read about our versioning strategy and releases on our website.
v6.13.0
Compare Source
Note: Version bump only for package @typescript-eslint/eslint-plugin
You can read about our versioning strategy and releases on our website.
v6.12.0
Compare Source
Bug Fixes
ignoreClassesThatImplementAnInterface
is set (#7705) (155aa1f)Features
You can read about our versioning strategy and releases on our website.
typescript-eslint/typescript-eslint (@typescript-eslint/parser)
v6.21.0
Compare Source
🚀 Features
parserOptions.project: false
❤️ Thank You
You can read about our versioning strategy and releases on our website.
v6.20.0
Compare Source
This was a version bump only for parser to align it with other projects, there were no code changes.
You can read about our versioning strategy and releases on our website.
v6.19.1
Compare Source
This was a version bump only for parser to align it with other projects, there were no code changes.
You can read about our versioning strategy and releases on our website.
v6.19.0
Compare Source
This was a version bump only for parser to align it with other projects, there were no code changes.
You can read about our versioning strategy and releases on our website.
v6.18.1
Compare Source
This was a version bump only for parser to align it with other projects, there were no code changes.
You can read about our versioning strategy and releases on our website.
v6.18.0
Compare Source
This was a version bump only for parser to align it with other projects, there were no code changes.
You can read about our versioning strategy and releases on our website.
v6.17.0
Compare Source
Note: Version bump only for package @typescript-eslint/parser
You can read about our versioning strategy and releases on our website.
v6.16.0
Compare Source
Note: Version bump only for package @typescript-eslint/parser
You can read about our versioning strategy and releases on our website.
v6.15.0
Compare Source
Note: Version bump only for package @typescript-eslint/parser
You can read about our versioning strategy and releases on our website.
v6.14.0
Compare Source
Note: Version bump only for package @typescript-eslint/parser
You can read about our versioning strategy and releases on our website.
6.13.2 (2023-12-04)
Note: Version bump only for package @typescript-eslint/parser
You can read about our versioning strategy and releases on our website.
6.13.1 (2023-11-28)
Note: Version bump only for package @typescript-eslint/parser
You can read about our versioning strategy and releases on our website.
v6.13.2
Compare Source
Note: Version bump only for package @typescript-eslint/parser
You can read about our versioning strategy and releases on our website.
v6.13.1
Compare Source
Note: Version bump only for package @typescript-eslint/parser
You can read about our versioning strategy and releases on our website.
v6.13.0
Compare Source
Note: Version bump only for package @typescript-eslint/parser
You can read about our versioning strategy and releases on our website.
v6.12.0
Compare Source
Note: Version bump only for package @typescript-eslint/parser
You can read about our versioning strategy and releases on our website.
eslint/eslint (eslint)
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: Enableeslint.config.mjs
andeslint.config.cjs
(#18066) (Nitin Kumar)Bug Fixes
2196d97
fix: handle absolute file paths inFlatRuleTester
(#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
84922d0
docs: Show prerelease version in dropdown (#18139) (Nicholas C. Zakas)5b8c363
docs: Switch to Ethical Ads (#18117) (Milos Djermanovic)77dbfd9
docs: show NEXT in version selectors (#18052) (Milos Djermanovic)Chores
1813aec
chore: upgrade @eslint/js@8.57.0 (#18143) (Milos Djermanovic)5c356bb
chore: package.json update for @eslint/js release (Jenkins)f4a1fe2
test: add more tests for ignoring files and directories (#18068) (Nitin Kumar)42c0aef
ci: Enable CI forv8.x
branch (#18047) (Milos Djermanovic)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
ba6af85
chore: upgrade @eslint/js@8.56.0 (#17864) (Milos Djermanovic)60a531a
chore: package.json update for @eslint/js release (Jenkins)ba87a06
chore: update dependency markdownlint to ^0.32.0 (#17783) (renovate[bot])9271d10
chore: add GitHub issue template for docs issues (#17845) (Josh Goldberg ✨)70a686b
chore: Convert rule tests to FlatRuleTester (#17819) (Nicholas C. Zakas)f3a599d
chore: upgrade eslint-plugin-unicorn to v49.0.0 (#17837) (唯然)905d4b7
chore: upgrade eslint-plugin-eslint-plugin v5.2.1 (#17838) (唯然)4d7c3ce
chore: update eslint-plugin-n v16.4.0 (#17836) (唯然)fd0c60c
ci: unpin Node.js 21.2.0 (#17821) (Francesco Trotta)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 forno-unused-vars
(#17788) (Tanuj Kanti)5a8efd5
docs: add specific stylistic rule for each deprecated rule (#17778) (Etienne)Chores
eb8950c
chore: upgrade @eslint/js@8.55.0 (#17811) (Milos Djermanovic)93df384
chore: package.json update for @eslint/js release (Jenkins)fe4b954
chore: upgrade @eslint/eslintrc@2.1.4 (#17799) (Milos Djermanovic)bd8911d
ci: pin Node.js 21.2.0 (#17809) (Milos Djermanovic)b29a16b
chore: fix severalcli
tests to run in the intended flat config mode (#17797) (Milos Djermanovic)de165c1
chore: remove unused config-extends fixtures (#17781) (Milos Djermanovic)d4304b8
chore: remove formatting/stylistic rules from new rule templates (#17780) (Francesco Trotta)21024fe
chore: check rule examples for syntax errors (#17718) (Francesco Trotta)prettier/eslint-config-prettier (eslint-config-prettier)
v9.1.0
Compare Source
ESLINT_CONFIG_PRETTIER_NO_DEPRECATED
environment variable.import-js/eslint-plugin-import (eslint-plugin-import)
v2.31.0
Compare Source
Added
order
]: allow validating named imports ([#3043], thanks [@manuth])extensions
]: add thecheckTypeImports
option ([#2817], thanks [@phryneas])Fixed
ExportMap
/ flat config: includelanguageOptions
in context ([#3052], thanks [@michaelfaith])no-named-as-default
]: Allow using an identifier if the export is both a named and a default export ([#3032], thanks [@akwodkiewicz])export
]: False positive for exported overloaded functions in TS ([#3065], thanks [@liuxingbaoyu])exportMap
: export map cache is tainted by unreliable parse results ([#3062], thanks [@michaelfaith])exportMap
: improve cacheKey when using flat config ([#3072], thanks [@michaelfaith])Changed
no-relative-packages
]: fix typo ([#3066], thanks [@joshuaobrien])no-cycle
]: dont scc for each linted file ([#3068], thanks [@soryy708])no-cycle
]: adddisableScc
to docs ([#3070], thanks [@soryy708])RuleTester
([#3071], thanks [@G-Rath])no-restricted-paths
]: fix grammar ([#3073], thanks [@unbeauvoyage])no-default-export
], [no-named-export
]: add test case (thanks [@G-Rath])v2.30.0
Compare Source
Added
dynamic-import-chunkname
]: addallowEmpty
option to allow empty leading comments ([#2942], thanks [@JiangWeixian])dynamic-import-chunkname
]: Allow empty chunk name when webpackMode: 'eager' is set; add suggestions to remove name in eager mode ([#3004], thanks [@amsardesai])no-unused-modules
]: AddignoreUnusedTypeExports
option ([#3011], thanks [@silverwind])Fixed
no-extraneous-dependencies
]: allow wrong path ([#3012], thanks [@chabb])no-cycle
]: use scc algorithm to optimize ([#2998], thanks [@soryy708])no-duplicates
]: Removing duplicates breaks in TypeScript ([#3033], thanks [@yesl-kim])newline-after-import
]: fix considerComments option when require ([#2952], thanks [@developer-bandi])order
]: do not compare first path segment for relative paths ([#2682]) ([#2885], thanks [@mihkeleidast])Changed
no-extraneous-dependencies
: Make glob pattern description more explicit ([#2944], thanks [@mulztob])no-unused-modules
]: add console message to help debug [#2866]ExportMap
: make procedures static instead of monkeypatching exportmap ([#2982], thanks [@soryy708])ExportMap
: separate ExportMap instance from its builder logic ([#2985], thanks [@soryy708])order
: Add a quick note on how unbound imports and --fix ([#2640], thanks [@minervabot])exportMapBuilder
: avoid hoisting ([#2989], thanks [@soryy708])ExportMap
: extract "builder" logic to separate files ([#2991], thanks [@soryy708])order
]: update the description of thepathGroupsExcludedImportTypes
option ([#3036], thanks [@liby])Configuration
📅 Schedule: Branch creation - "after 10am on monday,before 5pm on monday" in timezone Asia/Tokyo, 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.