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:
^3.1.0
->^3.3.1
^8.57.0
->^8.57.1
^7.15.0
->^7.18.0
^7.15.0
->^7.18.0
^8.57.0
->^8.57.1
^1.2.2
->^1.3.1
^7.34.3
->^7.37.5
^3.3.2
->^3.5.3
Release Notes
eslint/eslintrc (@eslint/eslintrc)
v3.3.1
Compare Source
Bug Fixes
types
field in package.json (#184) (2f4cf3f)v3.3.0
Compare Source
Features
v3.2.0
Compare Source
Features
eslint/eslint (@eslint/js)
v8.57.1
Compare Source
Bug Fixes
a19072f
fix: add logic to handle fixTypes in the lintText() method (#18900) (Francesco Trotta)04c7188
fix: Don't lint same file multiple times (#18899) (Francesco Trotta)87ec3c4
fix: do not throw when defining a global named__defineSetter__
(#18898) (Francesco Trotta)60a1267
fix: Provide helpful error message for nullish configs (#18889) (Milos Djermanovic)a0dea8e
fix: allowname
in global ignores, fix--no-ignore
for non-global (#18875) (Milos Djermanovic)3836bb4
fix: do not crash on error infs.walk
filter (#18886) (Milos Djermanovic)2dec349
fix: skip processor code blocks that match only universal patterns (#18880) (Milos Djermanovic)Documentation
6a5add4
docs: v8.x Add EOL banner (#18744) (Amaresh S M)b034575
docs: v8.x add version support page to the dropdown (#18731) (Amaresh S M)760ef7d
docs: v8.x add version support page in the side navbar (#18740) (Amaresh S M)428b7ea
docs: Add Powered by Algolia label to the search (#18658) (Amaresh S M)c68c07f
docs: version selectors synchronization (#18265) (Milos Djermanovic)Build Related
35d366a
build: Support updates to previous major versions (#18870) (Milos Djermanovic)Chores
140ec45
chore: upgrade @eslint/js@8.57.1 (#18913) (Milos Djermanovic)bcdfc04
chore: package.json update for @eslint/js release (Jenkins)3f6ce8d
chore: pin [email protected] (#18910) (Milos Djermanovic)9f07549
chore: ignore/docs/v8.x
in link checker (#18660) (Milos Djermanovic)typescript-eslint/typescript-eslint (@typescript-eslint/eslint-plugin)
v7.18.0
Compare Source
🩹 Fixes
eslint-plugin: [no-unnecessary-type-assertion] prevent runtime error when asserting a variable declared in default TS lib
eslint-plugin: [unbound-method] report on destructuring in function parameters
eslint-plugin: [no-duplicate-type-constituents] shouldn't report on error types
eslint-plugin: [strict-boolean-expressions] support branded booleans
❤️ Thank You
You can read about our versioning strategy and releases on our website.
v7.17.0
Compare Source
🚀 Features
eslint-plugin: backport no-unsafe-function type, no-wrapper-object-types from v8 to v7
eslint-plugin: [return-await] add option to report in error-handling scenarios only, and deprecate "never"
🩹 Fixes
eslint-plugin: [no-floating-promises] check top-level type assertions (and more)
eslint-plugin: [strict-boolean-expressions] consider assertion function argument a boolean context
eslint-plugin: [no-unnecessary-condition] false positive on optional private field
❤️ Thank You
You can read about our versioning strategy and releases on our website.
v7.16.1
Compare Source
🩹 Fixes
❤️ Thank You
You can read about our versioning strategy and releases on our website.
v7.16.0
Compare Source
🚀 Features
rule-tester: stricter rule test validations
eslint-plugin: [no-unnecessary-parameter-property-assignment] add new rule
eslint-plugin: add support for nested namespaces to unsafe-member-access
eslint-plugin: [no-floating-promises] add checkThenables option
🩹 Fixes
deps: update dependency @eslint-community/regexpp to v4.11.0
eslint-plugin: [no-floating-promises] add
suggestions
to tests from #9263checkThenables
website: react key error on internal pages of website
eslint-plugin: [restrict-template-expressions] don't report tuples if
allowArray
option is enabled❤️ Thank You
You can read about our versioning strategy and releases on our website.
typescript-eslint/typescript-eslint (@typescript-eslint/parser)
v7.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.
v7.17.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.
v7.16.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.
v7.16.0
Compare Source
🩹 Fixes
deps: update dependency @eslint-community/regexpp to v4.11.0
website: react key error on internal pages of website
❤️ Thank You
You can read about our versioning strategy and releases on our website.
ota-meshi/eslint-plugin-astro (eslint-plugin-astro)
v1.3.1
Compare Source
Patch Changes
1133962
Thanks @stefanprobst! - fix: preserve whitespace between attributes in sort-attributes rulev1.3.0
Compare Source
Minor Changes
d8d0c73
Thanks @azat-io! - feat: add sort-attributes rulev1.2.4
Compare Source
Patch Changes
b03d0d5
Thanks @JoshuaKGoldberg! - feat: support typescript-eslint@8v1.2.3
Compare Source
Patch Changes
a77445e
Thanks @smilosevic! - no-export-from-components - allow "partial" exceptionjsx-eslint/eslint-plugin-react (eslint-plugin-react)
v7.37.5
Compare Source
Fixed
no-unknown-property
]: allow shadow root attrs on<template>
(#3912 @ljharb)prop-types
]: supportComponentPropsWithRef
from a namespace import (#3651 @corydeppen)jsx-no-constructed-context-values
]: detect constructed context values in React 19<Context>
usage (#3910 @TildaDares)no-unknown-property
]: allowtransform-origin
onrect
(#3914 @ljharb)Changed
button-has-type
]: clean up phrasing (#3909 @hamirmahal)v7.37.4
Compare Source
Fixed
no-unknown-property
]: supportonBeforeToggle
,popoverTarget
,popoverTargetAction
attributes (#3865 @acusti)v7.37.3
Compare Source
Fixed
no-danger
]: avoid a crash on a nested component name (#3833 @ljharb)no-unknown-property
]: supportprecedence
prop in react 19 (#3829 @acusti)prop-types
]: props missing in validation when using generic types from a namespace import (#3859 @rbondoc96)Changed
jsx-no-script-url
]: Improve tests (#3849 @radu2147)default-props-match-prop-types
], [jsx-boolean-value
], [jsx-curly-brace-presence
], [jsx-no-bind
], [no-array-index-key
], [no-is-mounted
], [no-render-return-value
], [require-default-props
] (#3841 @bastiendmt)v7.37.2
Compare Source
Fixed
destructuring-assignment
]: fix false negative when usingtypeof props.a
(#3835 @golopot)Changed
destructuring-assignment
]: usegetParentStatelessComponent
(#3835 @golopot)v7.37.1
Compare Source
Fixed
d.ts
files (#3836 @ljharb)Changed
v7.37.0
Compare Source
Added
no-unescaped-entities
]: add suggestions (#3831 @StyleShit)forbid-component-props
]: addallowedForPatterns
/disallowedForPatterns
options (#3805 @Efimenko)no-unstable-nested-components
]: addpropNamePattern
to support custom render prop naming conventions (#3826 @danreeves)Changed
v7.36.1
Compare Source
Fixed
no-is-mounted
]: fix logic in method name check (#3821 @Mathias-S)jsx-no-literals
]: Avoid crashing on valueless boolean props (#3823 @reosarevok)v7.36.0
Compare Source
Added
no-string-refs
]: allow this.refs in > 18.3.0 (#3807 @henryqdineen)jsx-no-literals
] AddelementOverrides
option and the ability to ignore this rule on specific elements (#3812 @Pearce-Ropion)forward-ref-uses-ref
]: add rule for checking ref parameter is added ([#3667][] @NotWoods)Fixed
function-component-definition
], [boolean-prop-naming
], [jsx-first-prop-new-line
], [jsx-props-no-multi-spaces
],propTypes
: use type args (#3629 @HenryBrown0)jsx-props-no-spreading
]: addexplicitSpread
option to schema (#3799 @ljharb)Changed
no-danger
]: update broken link (#3817 @lucasrmendonca)button-has-type
: add test case with spread (#3731 @y-hsgw)v7.35.2
Compare Source
Fixed
jsx-curly-brace-presence
]: avoid autofixing attributes with double quotes to a double quoted attribute (#3814 @ljharb)v7.35.1
Compare Source
Fixed
jsx-curly-brace-presence
]: do not trigger on strings containing a quote character (#3798 @akulsr0)v7.35.0
Compare Source
Added
jsx-props-no-spread-multi
] (#3724 @SimonSchick)forbid-component-props
]: addpropNamePattern
to allow / disallow prop name patterns (#3774 @akulsr0)jsx-handler-names
]: support ignoring component names (#3772 @akulsr0)jsx-closing-tag-location
]: addline-aligned
option (#3777 @kimtaejin3)no-danger
]: addcustomComponentNames
option (#3748 @akulsr0)Fixed
no-invalid-html-attribute
]: substitute placeholders in suggestion messages (#3759 @mdjermanovic)sort-prop-types
]: single line type ending without semicolon (#3784 @akulsr0)require-default-props
]: report when required props have default value (#3785 @akulsr0)Changed
variableUtil
: Avoid creating a single flat variable scope for each lookup (#3782 @DanielRosenwasser)v7.34.4
Compare Source
Fixed
prop-types
]: fixclassName
missing in prop validation false negative (#3749 @akulsr0)sort-prop-types
]: Check for undefined before accessingnode.typeAnnotation.typeAnnotation
(#3779 @tylerlaprade)prettier/prettier (prettier)
v3.5.3
Compare Source
v3.5.2
Compare Source
diff
Remove
module-sync
condition (#17156 by @fisker)In Prettier 3.5.0, we added
module-sync
condition topackage.json
, so thatrequire("prettier")
can use ESM version, but turns out it doesn't work if CommonJS and ESM plugins both imports builtin plugins. To solve this problem, we decide simply remove themodule-sync
condition, sorequire("prettier")
will still use the CommonJS version, we'll revisit untilrequire(ESM)
feature is more stable.v3.5.1
Compare Source
diff
Fix CLI crash when cache for old version exists (#17100 by @sosukesuzuki)
Prettier 3.5 uses a different cache format than previous versions, Prettier 3.5.0 crashes when reading existing cache file, Prettier 3.5.1 fixed the problem.
Support dockercompose and github-actions-workflow in VSCode (#17101 by @remcohaszing)
Prettier now supports the
dockercompose
andgithub-actions-workflow
languages in Visual Studio Code.v3.5.0
Compare Source
diff
🔗 Release Notes
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
v3.3.3
Compare Source
diff
Add parentheses for nullish coalescing in ternary (#16391 by @cdignam-segment)
This change adds clarity to operator precedence.
Add parentheses for decorator expressions (#16458 by @y-schneider)
Prevent parentheses around member expressions or tagged template literals from being removed to follow the stricter parsing rules of TypeScript 5.5.
Support
@let
declaration syntax (#16474 by @sosukesuzuki)Adds support for Angular v18
@let
declaration syntax.Please see the following code example. The
@let
declaration allows you to define local variables within the template:For more details, please refer to the excellent blog post by the Angular Team: Introducing @let in Angular.
We also appreciate the Angular Team for kindly answering our questions to implement this feature.
Configuration
📅 Schedule: Branch creation - "after 10:30 before 18:00 every weekday except after 13:00 before 14:00" 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.