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:
v3
->v4
8.46.0
->8.51.0
7.33.1
->7.33.2
3.0.0
->3.0.3
4.4.7
->4.5.0
Release Notes
actions/checkout (actions/checkout)
v4
Compare Source
eslint/eslint (eslint)
v8.51.0
Compare Source
Features
0a9c433
feat: Add--no-warn-ignored
CLI option for flat config (#17569) (Domantas Petrauskas)977e67e
feat: logical-assignment-operators to report expressions with 3 operands (#17600) (Yosuke Ota)Bug Fixes
f976b2f
fix: make rule severity case-sensitive in flat config (#17619) (Milos Djermanovic)0edfe36
fix: Ensure crash error messages are not duplicated (#17584) (Nicholas C. Zakas)dd79abc
fix:eslint-disable
to be able to parse quoted rule names (#17612) (Yosuke Ota)d2f6801
fix: Ensure correct code path for && followed by ?? (#17618) (Nicholas C. Zakas)Documentation
ee5be81
docs: default tosourceType: "module"
in rule examples (#17615) (Francesco Trotta)1aa26df
docs: Add more examples for multiline-ternary (#17610) (George Ashiotis)47d0b44
docs: Update README (GitHub Actions Bot)dbf831e
docs: use generated og image (#17601) (Percy Ma)1866da5
docs: Update README (GitHub Actions Bot)Chores
1ef39ea
chore: upgrade @eslint/js@8.51.0 (#17624) (Milos Djermanovic)f8c7403
chore: package.json update for @eslint/js release (ESLint Jenkins)2665552
test: fix flat config linter tests to use Linter in flat config mode (#17616) (Milos Djermanovic)7b77bcc
chore: Refactor CodePathState (#17510) (Nicholas C. Zakas)bc77c9a
chore: Document and refactor ForkContext (#17566) (Nicholas C. Zakas)24e1f14
chore: Refactor and document CodePath (#17558) (Nicholas C. Zakas)v8.50.0
Compare Source
Features
27d5a9e
feat: add suggestions to array-callback-return (#17590) (Tanuj Kanti)f9082ff
feat: flat-rule-tester make sure default config always matches (#17585) (fnx)83914ad
feat: Implement SourceCode#applyInlineConfig() (#17351) (Nicholas C. Zakas)22a5582
feat: add ruleno-object-constructor
, deprecateno-new-object
(#17576) (Francesco Trotta)85a3d9e
feat: allowVoid option in array-callback-return (#17564) (Tanuj Kanti)Bug Fixes
cc4d26b
fix: Ensure deprecated context.parserServices warns (#17593) (Nicholas C. Zakas)1ea4cfb
fix: Ensure all RuleTester tests all deprecated context methods (#17587) (Nicholas C. Zakas)aa1b657
fix: wrong suggestion and message inno-misleading-character-class
(#17571) (Yosuke Ota)Documentation
1800537
docs: Fix and standardize JSX code examples (#17591) (Francesco Trotta)48a44a7
docs: Add correct/incorrect tags toprefer-arrow-callback
(#17589) (Francesco Trotta)20893d4
docs: fix incorrect tag's place (#17575) (Tanuj Kanti)bd7a71f
docs: Update README (GitHub Actions Bot)Chores
f8a8a2d
chore: upgrade @eslint/js@8.50.0 (#17599) (Milos Djermanovic)38ada6d
chore: package.json update for @eslint/js release (ESLint Jenkins)v8.49.0
Compare Source
Features
da09f4e
feat: Implement onUnreachableCodePathStart/End (#17511) (Nicholas C. Zakas)32b2327
feat: Emit deprecation warnings in RuleTester (#17527) (Nicholas C. Zakas)acb7df3
feat: add newenforce
option tolines-between-class-members
(#17462) (Nitin Kumar)Documentation
ecfb54f
docs: Update README (GitHub Actions Bot)de86b3b
docs: updateno-promise-executor-return
examples (#17529) (Nitin Kumar)032c4b1
docs: add typescript template (#17500) (James)cd7da5c
docs: Update README (GitHub Actions Bot)Chores
b7621c3
chore: remove browser test fromnpm test
(#17550) (Milos Djermanovic)cac45d0
chore: upgrade @eslint/js@8.49.0 (#17549) (Milos Djermanovic)cd39508
chore: package.json update for @eslint/js release (ESLint Jenkins)203a971
ci: bump actions/checkout from 3 to 4 (#17530) (dependabot[bot])a40fa50
chore: use eslint-plugin-jsdoc's flat config (#17516) (Milos Djermanovic)926a286
test: replace Karma with Webdriver.IO (#17126) (Christian Bromann)f591d2c
chore: Upgrade config-array (#17512) (Nicholas C. Zakas)v8.48.0
Compare Source
Features
1fbb3b0
feat: correct update direction infor-direction
(#17483) (Francesco Trotta)d73fbf2
feat: rule tester do not create empty valid or invalid test suites (#17475) (fnx)ee2f718
feat: Allowvoid
in ruleno-promise-executor-return
(#17282) (nopeless)Bug Fixes
7234f6a
fix: update RuleTester JSDoc and deprecations (#17496) (Jonas Berlin)Documentation
7a51d77
docs: no-param-reassign mention strict mode (#17494) (Stephen Hardy)9cd7ac2
docs: addfetch
script to package.json conventions (#17459) (Nitin Kumar)cab21e6
docs: advice for inline disabling of rules (#17458) (Ashish Yadav)056499d
docs: fix example of flat config from plugin (#17482) (Francesco Trotta)9e9edf9
docs: update documentation URL in error message (#17465) (Nitin Kumar)Chores
8dd3cec
chore: upgrade @eslint/js@8.48.0 (#17501) (Milos Djermanovic)6d0496e
chore: package.json update for @eslint/js release (ESLint Jenkins)9d4216d
chore: Refactor and document CodePathSegment (#17474) (Nicholas C. Zakas)v8.47.0
Compare Source
Features
53d7508
feat: update regex for methods withthisArg
(#17439) (Francesco Trotta)Bug Fixes
631648e
fix: do not report on shadowed constructors inno-new-wrappers
(#17447) (Francesco Trotta)Documentation
a766a48
docs: document lack of config file names (#17442) (James)a1635d6
docs: Update README (GitHub Actions Bot)47a0859
docs: updaterequire-unicode-regexp.md
as following up #17402 (#17441) (SUZUKI Sosuke)fcdc85d
docs: Update README (GitHub Actions Bot)2a92b6c
docs: update with "Specifying Parser Options" (#17435) (Cheol-Won)d743ed3
docs: add metadata for parser/processor (#17438) (Huáng Jùnliàng)224376c
docs: Update README (GitHub Actions Bot)a41a8e4
docs: update script names in README (#17432) (Nitin Kumar)Chores
bf69aa6
chore: Update dependencies (#17456) (Nicholas C. Zakas)0e45760
chore: package.json update for @eslint/js release (ESLint Jenkins)757bfe1
chore: Remove add-to-triage (#17450) (Nicholas C. Zakas)b066640
chore: standardize npm script names (#17431) (Nitin Kumar)6b2410f
chore: Update add-to-triage.yml (#17444) (Nicholas C. Zakas)jsx-eslint/eslint-plugin-react (eslint-plugin-react)
v7.33.2
Compare Source
Fixed
no-deprecated
]: prevent false positive on commonjs import (#3614 @akulsr0)no-unsafe
]: report on the method instead of the entire component (@ljharb)no-deprecated
]: report on the destructured property instead of the entire variable declarator (@ljharb)no-deprecated
]: report on the imported specifier instead of the entire import statement (@ljharb)no-invalid-html-attribute
]: report more granularly (@ljharb)prettier/prettier (prettier)
v3.0.3
Compare Source
diff
Add
preferUnplugged: true
topackage.json
(#15169 by @fisker and @so1ve)Prettier v3 uses dynamic imports, user will need to unplug Prettier when Yarn's PnP mode is enabled, add
preferUnplugged: true
topackage.json
, so Yarn will install Prettier as unplug by default.Support shared config that forbids
require()
(#15233 by @fisker)If an external shared config package is used, and the package
exports
don't haverequire
ordefault
export.In Prettier 3.0.2 Prettier fails when attempt to
require()
the package, and throws an error.Allow argument of
require()
to break (#15256 by @fisker)Do not print trailing commas in arrow function type parameter lists in
ts
code blocks (#15286 by @sosukesuzuki)Support TypeScript 5.2
using
/await using
declaration (#15321 by @sosukesuzuki)Support for the upcoming Explicit Resource Management feature in ECMAScript.
using
/await using
declarationv3.0.2
Compare Source
diff
Break after
=
of assignment if RHS is poorly breakable AwaitExpression or YieldExpression (#15204 by @seiyab)Do not add trailing comma for grouped scss comments (#15217 by @auvred)
Print
declare
andexport
keywords for nested namespace (#15249 by @sosukesuzuki)v3.0.1
Compare Source
diff
Fix cursor positioning for a special case (#14812 by @fisker)
Fix plugins/estree.d.ts to make it a module (#15018 by @kingyue737)
Add
export {}
inplugins/estree.d.ts
to fix the "File is not a module" errorAdd parenthesis around leading multiline comment in return statement (#15037 by @auvred)
Add support for Vue "Generic Components" (#15066 by @auvred)
https://blog.vuejs.org/posts/vue-3-3#generic-components
Fix comments print in
IfStatement
(#15076 by @fisker)Add missing type definition for
printer.preprocess
(#15123 by @so1ve)Add missing
getVisitorKeys
method type definition forPrinter
(#15125 by @auvred)Add typing to support
readonly
array properties of AST Node (#15127 by @auvred)Add space before unary minus followed by a function call (#15129 by @pamelalozano)
vitejs/vite (vite)
v4.5.0
Compare Source
Please refer to CHANGELOG.md for details.
v4.4.11
Compare Source
Please refer to CHANGELOG.md for details.
v4.4.10
Compare Source
Please refer to CHANGELOG.md for details.
v4.4.9
Compare Source
v4.4.8
Compare Source
moduleResolution: 'node16'
(#13947) (aeef670), closes #13947Configuration
📅 Schedule: Branch creation - "before 4am on the first day of the month" (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 has been generated by Mend Renovate. View repository job log here.