Update linters (major)#644
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
d75669e to
4ab32a5
Compare
15317a3 to
4a6f999
Compare
058dfec to
2a0c814
Compare
2a0c814 to
f9fbd69
Compare
f9fbd69 to
d7f60b1
Compare
284cf89 to
b0eea3e
Compare
b0eea3e to
40e6e64
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:
2.0.6→3.0.19.39.4→10.5.016.26.1→17.13.039.0.1→40.0.0Release Notes
nabla/vite-plugin-eslint (@nabla/vite-plugin-eslint)
v3.0.1Compare Source
v3.0.0Compare Source
eslint/eslint (eslint)
v10.5.0Compare Source
v10.4.1Compare Source
Bug Fixes
e557467fix: update@eslint/plugin-kitversion to 0.7.2 (#20930) (Francesco Trotta)d4ce898fix: propagate failures from delegated commands (#20917) (Minh Vu)f4f3507fix: prefer-arrow-callback invalid autofix with newline afterasync(#20916) (kuldeep kumar)c5bc78bfix: false positive for reference infinallyblock (#20655) (Tanuj Kanti)27538c0fix: add missing CodePath and CodePathSegment types (#20853) (Pixel998)Documentation
61b0adddocs: remove deprecated rule from related rules ofmax-params(#20921) (Tanuj Kanti)305d5b9docs: remove deprecated rules from related rules section (#20911) (Tanuj Kanti)49b0202docs: fixdisplay: noneof ad (#20901) (Tanuj Kanti)9067f94docs: switch build to Node.js 24 (#20893) (Milos Djermanovic)c91b041docs: Update README (GitHub Actions Bot)e349265docs: clarify semver strings in rule deprecation objects (#20885) (Milos Djermanovic)Chores
b0e466btest: adddataproperty to invalid tests cases for rules (#20924) (Tanuj Kanti)f78838btest: add CodePath type coverage (#20904) (Pixel998)1daa4bdchore: updateeslint-plugin-eslint-commentstest data to latest commit (#20922) (Francesco Trotta)002942cci: declare contents:read on update-readme workflow (#20919) (Arpit Jain)64bca24chore: update ecosystem plugins (#20912) (ESLint Bot)6d7c832chore: ignore fflate updates in renovate (#20908) (Pixel998)b2c8638ci: bump pnpm/action-setup from 6.0.7 to 6.0.8 (#20889) (dependabot[bot])a9b8d7fchore: increase maxBuffer for ecosystem tests (#20881) (sethamus)b702eadchore: update ecosystem update PR settings (#20884) (Pixel998)507f60echore: update ecosystem plugins (#20882) (ESLint Bot)92f5c5btest: add unit test for message-count (#20878) (kuldeep kumar)df32108chore: add @eslint/markdown and typescript-eslint ecosystem tests (#20837) (sethamus)327f91dchore: use includeIgnoreFile internally (#20876) (Kirk Waiblinger)f0dc4bdchore: pin fflate@0.8.2 (#20877) (Milos Djermanovic)0f4bd25ci: run Discord alert for ecosystem test failures (#20873) (Copilot)v10.4.0Compare Source
v10.3.0Compare Source
v10.2.1Compare Source
v10.2.0Compare Source
Features
586ec2ffeat: Addmeta.languagessupport to rules (#20571) (Copilot)14207defeat: addTemporaltono-obj-calls(#20675) (Pixel998)bbb2c93feat: add Temporal to ES2026 globals (#20672) (Pixel998)Bug Fixes
542cb3efix: update first-party dependencies (#20714) (Francesco Trotta)Documentation
a2af743docs: addlanguageto configuration objects (#20712) (Francesco Trotta)845f23fdocs: Update README (GitHub Actions Bot)5fbcf59docs: removesourceTypefrom ts playground link (#20477) (Tanuj Kanti)8702a47docs: Update README (GitHub Actions Bot)ddeadeddocs: Update README (GitHub Actions Bot)2b44966docs: add Major Releases section to Manage Releases (#20269) (Milos Djermanovic)eab65c7docs: updateeslintversions in examples (#20664) (루밀LuMir)3e4a299docs: update ESM Dependencies policies with note for own-usage packages (#20660) (Milos Djermanovic)Chores
8120e30refactor: extract no unmodified loop condition (#20679) (kuldeep kumar)46e8469chore: update dependency markdownlint-cli2 to ^0.22.0 (#20697) (renovate[bot])01ed3aatest: add unit tests for unicode utilities (#20622) (Manish chaudhary)811f493ci: remove--legacy-peer-depsfrom types integration tests (#20667) (Milos Djermanovic)6b86fcfchore: update dependency npm-run-all2 to v8 (#20663) (renovate[bot])632c4f8chore: addprettierupdate commit to.git-blame-ignore-revs(#20662) (루밀LuMir)b0b0f21chore: update dependency eslint-plugin-regexp to ^3.1.0 (#20659) (Milos Djermanovic)228a2ddchore: update dependency eslint-plugin-eslint-plugin to ^7.3.2 (#20661) (Milos Djermanovic)3ab4d7etest: Add tests for eslintrc-style keys (#20645) (kuldeep kumar)v10.1.0Compare Source
Features
ff4382bfeat: apply fix forno-varinTSModuleBlock(#20638) (Tanuj Kanti)0916995feat: Implement api support for bulk-suppressions (#20565) (Blake Sager)Bug Fixes
2b8824efix: Preventno-varautofix when a variable is used before declaration (#20464) (Amaresh S M)e58b4bffix: update eslint (#20597) (renovate[bot])Documentation
b7b57fedocs: use correct JSDoc link in require-jsdoc.md (#20641) (mkemna-clb)58e4cfcdocs: add deprecation notice partial (#20639) (Milos Djermanovic)7143dbfdocs: update v9 migration guide for@eslint/jsusage (#20540) (fnx)035fc4fdocs: note thatglobalReturnapplies only withsourceType: "script"(#20630) (Milos Djermanovic)e972c88docs: merge ESLint option descriptions into type definitions (#20608) (Francesco Trotta)7f10d84docs: Update README (GitHub Actions Bot)aeed007docs: open playground link in new tab (#20602) (Tanuj Kanti)a0d1a37docs: Add AI Usage Policy (#20510) (Nicholas C. Zakas)Chores
a9f9ccechore: update dependency eslint-plugin-unicorn to ^63.0.0 (#20584) (Milos Djermanovic)1f42bd7chore: updateprettierto 3.8.1 (#20651) (루밀LuMir)c0a6f4achore: update dependency @eslint/json to ^1.2.0 (#20652) (renovate[bot])cc43f79chore: update dependency c8 to v11 (#20650) (renovate[bot])2ce4635chore: update dependency @eslint/json to v1 (#20649) (renovate[bot])f0406eechore: update dependency markdownlint-cli2 to ^0.21.0 (#20646) (renovate[bot])dbb4c95chore: remove trunk (#20478) (sethamus)c672a2atest: fix CLI test for empty output file (#20640) (kuldeep kumar)c7ada24ci: bump pnpm/action-setup from 4.3.0 to 4.4.0 (#20636) (dependabot[bot])07c4b8btest: fixRuleTestertest without test runners (#20631) (Francesco Trotta)079bba7test: Add tests forisValidWithUnicodeFlag(#20601) (Manish chaudhary)5885ae6ci: unpin Node.js 25.x in CI (#20615) (Copilot)f65e5d3chore: update pnpm/action-setup digest tob906aff(#20610) (renovate[bot])v10.0.3Compare Source
v10.0.2Compare Source
v10.0.1Compare Source
Bug Fixes
c87d5bdfix: update eslint (#20531) (renovate[bot])d841001fix: updateminimatchto10.2.1to address security vulnerabilities (#20519) (루밀LuMir)04c2147fix: update error message for unused suppressions (#20496) (fnx)38b089cfix: update dependency @eslint/config-array to ^0.23.1 (#20484) (renovate[bot])Documentation
5b3dbcedocs: add AI acknowledgement section to templates (#20431) (루밀LuMir)6f23076docs: toggle nav in no-JS mode (#20476) (Tanuj Kanti)b69cfb3docs: Update README (GitHub Actions Bot)Chores
e5c281fchore: updates for v9.39.3 release (Jenkins)8c3832achore: update @typescript-eslint/parser to ^8.56.0 (#20514) (Milos Djermanovic)8330d23test: add tests for config-api (#20493) (Milos Djermanovic)37d6e91chore: remove eslint v10 prereleases from eslint-config-eslint deps (#20494) (Milos Djermanovic)da7cd0erefactor: cleanup error message templates (#20479) (Francesco Trotta)84fb885chore: package.json update for @eslint/js release (Jenkins)1f66734chore: addeslinttopeerDependenciesof@eslint/js(#20467) (Milos Djermanovic)v10.0.0Compare Source
stylelint/stylelint (stylelint)
v17.13.0Compare Source
It fixes 3 bugs, including a false negative one.
declaration-block-no-duplicate-propertiesfalse negatives for interleaved non-consecutive duplicates withignore: ["consecutive-duplicates(-*)"](#9324) (@sarathfrancis90).selector-max-typefalse positives for nested selectors (#9319) (@romainmenke).selector-type-no-unknownfalse positives forinstall(#9308) (@Mouvedia).v17.12.0Compare Source
It fixes 3 bugs, including a false negative one.
block-no-emptyreported range when using comments (#9294) (@romainmenke).declaration-property-value-no-unknownfalse negatives for custom properties defined in reference files (#9292) (@romainmenke).value-keyword-layout-mappingsfalse positives forcaption-side(#9293) (@romainmenke).v17.11.1Compare Source
It fixes 2 bugs.
node_modulesignore forcodeFilenamepaths containing a dot-prefixed directory (#9282) (@tuhtah).declaration-block-no-redundant-longhand-propertiesrange for contiguous redundant longhand properties (#9273) (@pamelalozano16).v17.11.0Compare Source
It adds 2 features, including a
loaderproperty toreferenceFiles: {}for when the order of appearance in the reference styles matters.loaderto experimentalreferenceFiles: {}(#9251) (@romainmenke).autofixedto the result object (#8771) (@Rob--W).v17.10.0Compare Source
It adds 3 rules and fixes 4 bugs. You can use the
*-layout-mappingsrules to enforce logical or physical properties, units and keywords.selector-no-invalidrule (#9232) (@jeddy3).unit-layout-mappingsrule (#9229) (@jeddy3).value-keyword-layout-mappingsrule (#9233) (@jeddy3).property-layout-mappingsfalse negatives for property names in declaration values (#9222) (@jeddy3).property-layout-mappingsfalse positives for@pageproperties (#9223) (@jeddy3).selector-pseudo-class-no-unknownfalse positives for nestedwebkit-scrollbarpart (#9259) (@rkdfx).v17.9.1Compare Source
It fixes 4 bugs. We also documented the
messageArgseach rule provides to themessageconfiguration property.ConfigurationErrorregression for custom syntaxes (#9245) (@jeddy3).property-no-deprecatedautofix forpage-break-*: always(#9214) (@rkdfx).selector-no-deprecatedfalse positives for::part()(#9227) (@SaekiTominaga).v17.9.0Compare Source
It adds 3 new features. Adding the
referenceFilesproperty to your configuration object makes theno-unknown-animations,no-unknown-custom-mediaandno-unknown-custom-propertiesrules more useful.referenceFilesto configuration object (#9179) (@jeddy3).abortSignaloption to Node.js API for cancellation support (#9213) (@adalinesimonian).maxWarningsto configuration object (#9181) (@mrginglymus).v17.8.0Compare Source
It adds 3 new rules and 1 configuration property.
languageOptions.directionalityconfiguration property (#8687) (@sw1tch3roo).property-layout-mappingsrule (#8687) (@sw1tch3roo).relative-selector-nesting-notationrule (#8730) (@sw1tch3roo).selector-no-deprecatedrule (#8694) (@immitsu).v17.7.0Compare Source
It fixes 4 bugs, including clearer problem messages by removing filler words and leading with the problem. We've also released
1.0.0of create-stylelint to help with first-time Stylelint setup.--print-configCLI flag to hide internal properties (#9194) (@ybiquitous).function-url-quotesfalse positives when URLs have modifiers (#8702) (@immitsu).selector-no-qualifying-typefalse positives for:has()(#9182) (@romainmenke).v17.6.0Compare Source
It adds support for extending units in
languageOptions, which then apply to rules likedeclaration-property-value-no-unknown, and fixes 2 bugs.languageOptions(#9166) (@jeddy3).ruleMetadatawhen linting multiple files with overrides (#9154) (@kovsu).custom-property-no-missing-var-functionfalse positives fortimeline-scopeandanimation-timeline(#9164) (@splincode).v17.5.0Compare Source
It deprecates two rule options, adds 1 rule option and fixes 7 bugs. We've also released
2.1.0of our VS Code extension, which adds 8 new requested features, and our first release of the Stylelint Language Server.*syntaxoptions fromdeclaration-property-value-no-unknown(#9102) (@ragini-pandey).ignoreMediaFeatureNameValues: {}tomedia-feature-name-value-no-unknown(#8976) (@kovsu).node_modulesnot ignored when usingcodeFilenamein Node.js API (#9130) (@adalinesimonian).Error TS7016for importedcss-treetypes (#9133) (@ragini-pandey).declaration-property-value-keyword-no-deprecatedfalse positives for function arguments (#9116) (@ragini-pandey).declaration-property-value-no-unknownfalse positives forcalc-size()containingsizekeyword (#9105) (@hriztam).no-descending-specificity&no-duplicate-selectorsfalse negatives for equivalent compound selectors (#8977) (@kovsu).no-invalid-position-declarationfalse positives for@mixinand@scope(#9120) (@ragini-pandey).property-no-unknownfalse negatives fortypes(#9117) (@Mouvedia).v17.4.0Compare Source
It adds 2 options to the rules and fixes 7 bugs.
ignoreAtRules: []toat-rule-no-vendor-prefix(#9096) (@theacrat).ignoreMediaFeatureNames: []tomedia-feature-name-no-vendor-prefix(#9097) (@theacrat).*-empty-line-beforeperformance (#9092) (@jeddy3).declaration-property-value-no-unknownperformance (#9090) (@jeddy3).no-irregular-whitespaceperformance (#9091) (@jeddy3).property-no-unknownfalse negatives for at-rule descriptors (#9109) (@jeddy3).property-no-unknownfalse positives forcorner-shape(#9099) (@jeddy3).property-no-unknownfalse positives for double-slashed properties (#9099) (@jeddy3).v17.3.0Compare Source
It fixes 17 bugs. 3 related to supporting
calc()indeclaration-property-value-no-unknown, and 13 performance ones that make Stylelint a further 3x faster when using the rules in our standard config.*-listperformance (#9056) (@jeddy3).*-notationperformance (#9044) (@jeddy3).declaration-property-max-valuesperformance (#9057) (@jeddy3).declaration-property-value-keyword-no-deprecatedperformance (#9058) (@jeddy3).declaration-property-value-no-unknownfalse negatives for math functions inside of non-math functions (#9064) (@romainmenke).declaration-property-value-no-unknownfalse positives forcalc()with mixed operations (#9064) (@romainmenke).declaration-property-value-no-unknownperformance (#9062) (@jeddy3).declaration-property-value-no-unknownreported ranges for multiple math functions (#9064) (@romainmenke).length-zero-no-unitperformance (#9046) (@jeddy3).named-grid-areas-no-invalidfalse positives for mix of tabs and spaces (#9039) (@adalinesimonian).no-unknown-custom-mediaperformance (#9059) (@jeddy3).selector-max-*performance (#9042) (@jeddy3).shorthand-property-no-redundant-valuesperformance (#9047) (@jeddy3).syntax-string-no-invalidperformance (#9061) (@jeddy3).time-min-millisecondsperformance (#9060) (@jeddy3).value-keyword-caseperformance (#9048) (@jeddy3).v17.2.0Compare Source
It fixes 7 bugs, including 5 performance ones that make Stylelint 7x faster and use 3x less memory on larger codebases such as design systems and monorepos. We also restructured our docs to create a contributor guide. If you'd like to help out and contribute to Stylelint, that's the place to start.
declaration-property-value-no-unknownfalse negatives for math functions (#9011) (@ragini-pandey).no-duplicate-selectorsfalse negatives for matching escaped selectors (#8953) (@bjnewman).no-invalid-position-at-import-rulefalse negatives for layers with blocks (#9026) (@romainmenke).v17.1.1Compare Source
It fixes 2 bugs.
lightness-notationautofix for decimals (#9009) (@IlyaSemenov).v17.1.0Compare Source
It fixes 5 bugs and adds the
display-notationrule. Before we turn it on in our standard config, we'd like to hear the community's thoughts on which options to use.display-notationrule (#8981) (@romainmenke).GlobbyOptionsTypeScript errors (#8992) (@zalishchuk).hue-degree-notationfalse negatives and positives for relative colors (#8985) (@jamesnw).lightness-notationfalse negatives for relative colors (#8987) (@jamesnw).selector-type-no-unknownfalse positives forgeolocationandusermedia(#9004) (@Mouvedia).selector-type-no-unknownfalse positives forrb,rtcandmenuitem(#8972) (@Mouvedia).v17.0.0Compare Source
It contains 14 breaking changes, which we've detailed in the migrating to
17.0.0guide. Additionally, it adds 3 options to the rules and fixes 9 bugs. We've also released compatible versions of our shared config, Visual Studio Code extension, Node.js Rule Tester and Jest preset.outputproperty in the Node.js API returned resolved object (#8878) (@jeddy3).resolveNestedSelectorsoption fromselector-class-pattern(#8931) (@jeddy3).checkContextFunctionalPseudoClassesoption fromselector-max-id(#8913) (@jeddy3).fixmode tostrict(#8889) (@jeddy3).reportto be consistent and predictable in how it handles the provided position arguments (#8217) (@romainmenke).selector-max-*syntax rules for standard CSS nesting and modern functional pseudo-classes (#8913) (@jeddy3).*-specificitysemantic rules for standard CSS nesting (#8913) (@jeddy3).no-duplicate-selectorsandselector-no-qualifying-typefor standard CSS nesting (#8913) (@jeddy3).*-listrules to have consistent behaviour for vendor prefixes and case (#8912) (@jeddy3).*-no-vendor-prefixrules to have consistent behaviour for theirignore*: []secondary options (#8924) (@jeddy3).declaration-property-max-valuesrule to have consistent behaviour for vendor prefixes (#8926) (@jeddy3).except: ["after-block"]tocustom-property-empty-line-before(#8921) (@kovsu).except: ["after-block"]todeclaration-empty-line-before(#8910) (@kovsu).ignoreSelectors: []tono-duplicate-selectors(#8883) (@kovsu).at-rule-descriptor-no-unknownfalse positives for declarations within feature-value-blocks (#8868) (@kovsu).declaration-block-no-redundant-longhand-propertiesfalse negatives for short and long combinations (#8892) (@nathannewyen).media-feature-name-no-unknownfalse positives for namespaced dollar variables and range context queries (#8890) (@kovsu).nesting-selector-no-missing-scoping-rootfalse positives for CSS-in-JS (#8905) (@kovsu).no-invalid-position-declarationfalse negatives for embedded blocks (#8907) (@kovsu).selector-no-qualifying-typefalse negatives for:is/where()(#8940) (@romainmenke).selector-type-no-unknownfalse positives for MathML 4 tags (#8874) (@jeddy3).stylelint/stylelint-config-standard (stylelint-config-standard)
v40.0.0Compare Source
stylelintless than17.0.0from peer dependencies.20.19.0.stylelint-config-recommended@18.0.0.Configuration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, 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.