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:
6.1.0
->6.6.0
6.1.0
->6.6.0
8.45.0
->8.48.0
7.32.2
->7.33.2
3.0.0
->3.0.3
Release Notes
typescript-eslint/typescript-eslint (@typescript-eslint/eslint-plugin)
v6.6.0
Compare Source
Bug Fixes
You can read about our versioning strategy and releases on our website.
v6.5.0
Compare Source
Bug Fixes
You can read about our versioning strategy and releases on our website.
6.4.1 (2023-08-21)
Bug Fixes
You can read about our versioning strategy and releases on our website.
v6.4.1
Compare Source
Bug Fixes
You can read about our versioning strategy and releases on our website.
v6.4.0
Compare Source
Bug Fixes
You can read about our versioning strategy and releases on our website.
v6.3.0
Compare Source
Bug Fixes
allowTypeImports
enabled (#7379) (cc9a46d)Features
ignorePrimitives
option to betrue
(#7331) (dfcafae)Reverts
You can read about our versioning strategy and releases on our website.
6.2.1 (2023-07-31)
Bug Fixes
You can read about our versioning strategy and releases on our website.
v6.2.1
Compare Source
Bug Fixes
You can read about our versioning strategy and releases on our website.
v6.2.0
Compare Source
Bug Fixes
Features
You can read about our versioning strategy and releases on our website.
typescript-eslint/typescript-eslint (@typescript-eslint/parser)
v6.6.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.5.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.4.1 (2023-08-21)
Note: Version bump only for package @typescript-eslint/parser
You can read about our versioning strategy and releases on our website.
v6.4.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.4.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.3.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.2.1 (2023-07-31)
Note: Version bump only for package @typescript-eslint/parser
You can read about our versioning strategy and releases on our website.
v6.2.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.2.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.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)v8.46.0
Compare Source
Features
8a93438
feat:require-unicode-regexp
supportv
flag (#17402) (SUZUKI Sosuke)1a2f966
feat:no-useless-escape
supportv
flag (#17420) (Yosuke Ota)ee68d1d
feat:no-empty-character-class
supportv
flag (#17419) (Milos Djermanovic)853d32b
feat: deprecate no-return-await (#17417) (Carlos Lopez)d4f02e4
feat:no-control-regex
supportv
flag (#17405) (Yosuke Ota)2a35f3e
feat:prefer-named-capture-group
supportv
flag (#17409) (Yosuke Ota)8ca8b50
feat: Better error message for flat config plugins (#17399) (Nicholas C. Zakas)509f753
feat:no-misleading-character-class
supportv
flag (#17406) (Yosuke Ota)3caf514
feat:no-regex-spaces
supportv
flag (#17407) (Yosuke Ota)b7fad2b
feat:prefer-regex-literals
supportv
flag (#17410) (Yosuke Ota)a6a3ad4
feat:no-useless-backreference
supportv
flag (#17408) (Yosuke Ota)94954a7
feat:no-invalid-regexp
supportv
flag (#17404) (Yosuke Ota)1af6eac
feat: adds option for allowing empty object patterns as parameter (#17365) (Tanuj Kanti)cf03104
feat: Improve config error messages (#17385) (Nicholas C. Zakas)Bug Fixes
9803c7c
fix: FlatESLint#getRulesMetaForResults shouldn't throw on unknown rules (#17393) (Milos Djermanovic)42faa17
fix: Update no-loop-func to not overlap with no-undef (#17358) (Matt Wilkinson)Documentation
4d474e3
docs: update with TypeScript info (#17423) (James)091f44e
docs: File extension named processor deprecation (#17362) (Matt Wilkinson)9254a6c
docs: Update README (GitHub Actions Bot)6d6dc51
docs: fix overlapping ofopen in playground
button (#17403) (Tanuj Kanti)7fc3a2c
docs: Add private class features info to no-underscore-dangle (#17386) (Matt Wilkinson)da73e58
docs: Migratingeslint-env
configuration comments (#17390) (Francesco Trotta)80dffed
docs: fix Ignoring Files section in config migration guide (#17392) (Milos Djermanovic)8a9abb7
docs: Update README (GitHub Actions Bot)7e9be4b
docs: Update README (GitHub Actions Bot)0b0bbe0
docs: Update README (GitHub Actions Bot)Chores
d1eb7e4
chore: Update ecosystem dependencies (#17427) (Nicholas C. Zakas)fab9e97
chore: package.json update for eslint-config-eslint release (ESLint Jenkins)6246711
chore: package.json update for @eslint/js release (ESLint Jenkins)0aa0bc3
chore: Add PRs to triage project (#17421) (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)v7.33.1
Compare Source
Fixed
require-default-props
]: fix config schema (#3605 @controversial)jsx-curly-brace-presence
]: Revert [#3538][] due to issues with intended string type casting usage (#3611 @taozhou-glean)sort-prop-types
]: ensure sort-prop-types respects noSortAlphabetically (#3610 @caesar1030)v7.33.0
Compare Source
Added
display-name
]: addcheckContextObjects
option (#3529 @JulesBlm)jsx-first-prop-new-line
]: addmultiprop
option (#3533 @haydncomley)no-deprecated
]: add React 18 deprecations (#3548 @sergei-startsev)forbid-component-props
]: adddisallowedFor
option (#3417 @jacketwpbb)Fixed
no-array-index-key
]: consider flatMap (#3530 @k-yle)jsx-curly-brace-presence
]: handle single and only expression template literals (#3538 @taozhou-glean)no-unknown-property
]: allowonLoad
onsource
(@ljharb)jsx-first-prop-new-line
]: ensure autofix preserves generics in component name (#3546 @ljharb)no-unknown-property
]: allowfill
prop on<symbol>
(#3555 @stefanprobst)display-name
], [prop-types
]: when checking for a capitalized name, ignore underscores entirely (#3560 @ljharb)no-unused-state
]: avoid crashing on a class field function with destructured state (#3568 @ljharb)no-unused-prop-types
]: allow using spread with object expression in jsx (#3570 @akulsr0)destructuring-assignment
]: Handle destructuring of useContext in SFC" (#3583 [#2797][] @102)prefer-read-only-props
]: add TS support (#3593 @HenryBrown0)Changed
jsx-newline
], [no-unsafe
], [static-property-placement
]: Fix code syntax highlighting (#3563 @nbsp1221)jsx-no-bind
]: reword performance rationale (#3581 @gpoole)jsx-first-prop-new-line
]: add missingmultiprop
value (#3598 @dzek69)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
<!-- Input --> <script setup lang="ts" generic="T extends Type1 & Type2 & (Type3 | Type4), U extends string | number | boolean"></script> <!-- Prettier 3.0.0 --> <script setup lang="ts" generic="T extends Type1 & Type2 & (Type3 | Type4), U extends string | number | boolean" ></script> <!-- Prettier 3.0.1 --> <script setup lang="ts" generic=" T extends Type1 & Type2 & (Type3 | Type4), U extends string | number | boolean " ></script>
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)
Configuration
📅 Schedule: Branch creation - "every weekend" 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 has been generated by Mend Renovate. View repository job log here.