chore(deps): update linters (major) #5457
Open
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:
5.2.0→7.0.116.25.0→17.0.038.0.0→40.0.0Release Notes
facebook/react (eslint-plugin-react-hooks)
v7.0.1Compare Source
useEffectEventvalues as JSX props to guard against accidental propagation. (#34820 by @jf-eirinha)export =so eslint-plugin-react-hooks emits correct types for consumers in Node16 ESM projects. (#34949 by @karlhorky)configs.flatso theconfigsexport is always defined. (#34950 by @poteto)v7.0.0Compare Source
This release slims down presets to just 2 configurations (
recommendedandrecommended-latest), and all compiler rules are enabled by default.recommended-latest-legacyandflat/recommendedconfigs. The plugin now providesrecommended(legacy and flat configs with all recommended rules), andrecommended-latest(legacy and flat configs with all recommended rules plus new bleeding edge experimental compiler rules). (@poteto in #34757)v6.1.1Compare Source
Note: 6.1.0 accidentally allowed use of
recommendedwithout flat config, causing errors when used with ESLint v9'sdefineConfig()helper. This has been fixed in 6.1.1.recommendedconfig for flat config compatibility. Therecommendedconfig has been converted to flat config format. Non-flat config users should userecommended-legacyinstead. (@poteto in #34700)recommended-latestandrecommended-latest-legacyconfigs that include React Compiler rules. (@poteto in #34675)NoUnusedOptOutDirectivesrule. (@poteto in #34703)hermes-parserand dependency. (@poteto in #34719)@babel/plugin-proposal-private-methodsdependency. (@ArnaudBarre and @josephsavona in #34715)v6.1.0Compare Source
Note: Version 6.0.0 was mistakenly released and immediately deprecated and untagged on npm. This is the first official 6.x major release and includes breaking changes.
recommendedpreset. Legacy config moved torecommended-legacy. (@michaelfaith in #32457)usewithin try/catch blocks. (@poteto in #34040)useEffectEventfunctions in arbitrary closures. (@jbrown215 in #33544)React.useEffectin addition touseEffectin rules-of-hooks. (@Ayc0 in #34076)react-hookssettings config option that to acceptadditionalEffectHooksthat are used across exhaustive-deps and rules-of-hooks rules. (@jbrown215) in #34497v6.0.0Compare Source
Accidentally released. See 6.1.0 for the actual changes.
stylelint/stylelint (stylelint)
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).v16.26.1Compare Source
It fixes numerous false positive bugs, including many in the
declaration-property-value-no-unknownrule for the latest CSS specifications.*-no-unknownfalse positives for latest specs by integrating@csstools/css-syntax-patches-for-csstree(#8850) (@romainmenke).at-rule-no-unknownfalse positives for@function(#8851) (@jeddy3).declaration-property-value-no-unknownfalse positives forattr(),if()and custom functions (#8853) (@jeddy3).function-url-quotesfalse positives when URLs require quoting (#8804) (@taearls).selector-pseudo-element-no-unknownfalse positives for::scroll-button()(#8856) (@Mouvedia).v16.26.0Compare Source
It adds 1 feature and fixes 2 bugs.
customSyntaxwith function export (#8834) (@silverwind).custom-property-no-missing-var-functionfalse positives for style query inif()function (#8813) (@sajdakabir).media-feature-range-notationfalse positives for multiple queries andexcept: exact-value(#8832) (@jeddy3).stylelint/stylelint-config-standard (stylelint-config-standard)
v40.0.0Compare Source
stylelintless than17.0.0from peer dependencies.20.19.0.[email protected].v39.0.1Compare Source
layer-name-patternfalse positives for dot notation.v39.0.0Compare Source
stylelintless than16.23.0from peer dependencies.[email protected].block-no-redundant-nested-style-rulesrule.Configuration
📅 Schedule: Branch creation - Between 12:00 AM and 03:59 AM, on day 1 of the month ( * 0-3 1 * * ) (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ 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.