-
Notifications
You must be signed in to change notification settings - Fork 0
chore(deps): update linters #163
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
renovate
wants to merge
1
commit into
main
Choose a base branch
from
renovate/linters
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
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
05c8b52 to
ea1eba7
Compare
a49e032 to
0c4ebef
Compare
acfc600 to
3ef9a51
Compare
f901a0b to
9aba4df
Compare
9aba4df to
b87d2d1
Compare
c32d503 to
1a289da
Compare
1a289da to
5273419
Compare
a70d7a4 to
35a0246
Compare
9cf3e10 to
55ae0d4
Compare
55ae0d4 to
fa48d6b
Compare
2fb6674 to
c002e4b
Compare
5d70d2a to
0dab144
Compare
0dab144 to
0040efb
Compare
60615cd to
5af2c92
Compare
ab6c1d7 to
cf0102c
Compare
1d63d3c to
8a2e861
Compare
303fe1b to
fe6fcee
Compare
b06225b to
e2a31c1
Compare
58cc5e7 to
a715148
Compare
a715148 to
cf16d88
Compare
cf16d88 to
242ecb2
Compare
d409346 to
2d5511d
Compare
2d5511d to
b84ccc6
Compare
b84ccc6 to
738f6cc
Compare
738f6cc to
bbfe35a
Compare
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:
^7.3.1->^7.18.0^8.57.0->^8.57.1^2.29.1->^2.32.0^7.34.1->^7.37.5^4.6.0->^4.6.2Release Notes
typescript-eslint/typescript-eslint (@typescript-eslint/eslint-plugin)
v7.18.0Compare 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.0Compare 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.1Compare Source
🩹 Fixes
❤️ Thank You
You can read about our versioning strategy and releases on our website.
v7.16.0Compare 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
suggestionsto tests from #9263checkThenableswebsite: react key error on internal pages of website
eslint-plugin: [restrict-template-expressions] don't report tuples if
allowArrayoption is enabled❤️ Thank You
You can read about our versioning strategy and releases on our website.
v7.15.0Compare Source
🚀 Features
eslint-plugin: [array-type] detect
Readonly<string[]>caseeslint-plugin: back-port new rules around empty object types from v8
🩹 Fixes
disable
EXPERIMENTAL_useProjectServiceindisabled-type-checkedshared configeslint-plugin: [no-unsafe-return] differentiate a types-error any from a true any
eslint-plugin: [no-unsafe-call] differentiate a types-error any from a true any
❤️ Thank You
You can read about our versioning strategy and releases on our website.
v7.14.1Compare Source
🩹 Fixes
eslint-plugin: [prefer-nullish-coalescing] treat enums and literals as their underlying primitive types
eslint-plugin: [prefer-nullish-coalescing] ensure ternary fix does not remove parens
❤️ Thank You
You can read about our versioning strategy and releases on our website.
v7.14.0Compare Source
🚀 Features
🩹 Fixes
eslint-plugin: [no-extraneous-class] handle abstract members
eslint-plugin: [prefer-nullish-coalescing] handle intersected primitive types
eslint-plugin: [no-invalid-this] support AccessorProperty
❤️ Thank You
You can read about our versioning strategy and releases on our website.
v7.13.1Compare Source
🩹 Fixes
eslint-plugin: [prefer-readonly] refine report locations
eslint-plugin: [return-await] support explicit resource management
eslint-plugin: [no-unsafe-member-access] differentiate a types-error any from a true any
❤️ Thank You
You can read about our versioning strategy and releases on our website.
v7.13.0Compare Source
🚀 Features
typescript-estree: require
import = require()argument to be a string literaltypescript-estree: forbid
.body,.async,.generatorondeclare functioneslint-plugin: [no-dynamic-delete] allow all string literals as index
🩹 Fixes
ast-spec: function-call-like callee should be Expression not LeftHandSideExpression
scope-manager: handle index signature in class
eslint-plugin: [init-declarations] refine report locations
eslint-plugin: [no-base-to-string] make error message more nuanced
eslint-plugin: [no-unsafe-assignment] be more specific about error types
eslint-plugin: [no-magic-numbers] fix implementation of the
ignoreoption❤️ Thank You
You can read about our versioning strategy and releases on our website.
v7.12.0Compare Source
🚀 Features
eslint-plugin: [no-useless-template-literals] rename to
no-useless-template-expression(deprecateno-useless-template-literals)rule-tester: check for parsing errors in suggestion fixes
rule-tester: port
checkDuplicateTestCasesfrom ESLinteslint-plugin: [no-floating-promises] add option 'allowForKnownSafePromises'
🩹 Fixes
no-useless-template-expression -> no-unnecessary-template-expression
eslint-plugin: [no-unnecessary-type-assertion] combine template literal check with
constvariable checkeslint-plugin: [dot-notation] fix false positive when accessing private/protected property with optional chaining
eslint-plugin: [explicit-member-accessibility] refine report locations
eslint-plugin: [no-unnecessary-type-assertion] declares are always defined, so always check
declareseslint-plugin: [prefer-literal-enum-member] allow using member it self on allowBitwiseExpressions
eslint-plugin: [return-await] clean up in-try-catch detection and make autofixes safe
eslint-plugin: [member-ordering] also TSMethodSignature can be get/set
❤️ Thank You
You can read about our versioning strategy and releases on our website.
v7.11.0Compare Source
🚀 Features
🩹 Fixes
❤️ Thank You
You can read about our versioning strategy and releases on our website.
v7.10.0Compare Source
🚀 Features
🩹 Fixes
❤️ Thank You
You can read about our versioning strategy and releases on our website.
v7.9.0Compare Source
🩹 Fixes
❤️ Thank You
You can read about our versioning strategy and releases on our website.
v7.8.0Compare Source
🩹 Fixes
eslint-plugin: [no-unsafe-argument] handle tagged templates
eslint-plugin: [prefer-optional-chain] suggests optional chaining during strict null equality check
eslint-plugin: [consistent-type-assertions] handle tagged templates
eslint-plugin: [no-unsafe-return] handle union types
eslint-plugin: [no-unused-vars] clear error report range
❤️ Thank You
You can read about our versioning strategy and releases on our website.
v7.7.1Compare Source
🩹 Fixes
eslint-plugin: [no-unsafe-assignment] handle shorthand property assignment
eslint-plugin: [explicit-function-return-type] fix checking wrong ancestor's return type
eslint-plugin: [prefer-optional-chain] only look at left operand for
requireNullisheslint-plugin: [no-for-in-array] refine report location
eslint-plugin: [no-unnecessary-type-assertion] allow non-null assertion for void type
❤️ Thank You
You can read about our versioning strategy and releases on our website.
v7.7.0Compare Source
🚀 Features
no-new-symbolwithno-new-native-nonconstructor❤️ Thank You
You can read about our versioning strategy and releases on our website.
v7.6.0Compare Source
🚀 Features
❤️ Thank You
You can read about our versioning strategy and releases on our website.
v7.5.0Compare Source
🩹 Fixes
eslint-plugin: [no-floating-promises] handle TaggedTemplateExpression
eslint-plugin: [no-unnecessary-type-assertion] handle exactOptionalPropertyTypes compiler option
❤️ Thank You
You can read about our versioning strategy and releases on our website.
v7.4.0Compare Source
🚀 Features
eslint-plugin: [consistent-type-imports] ignore files with decorators, experimentalDecorators, and emitDecoratorMetadata
eslint-plugin: [no-unnecessary-type-arguments] handle tagged templates
eslint-plugin: deprecate no-throw-literal and add a renamed only-throw-error
🩹 Fixes
eslint-plugin: [prefer-optional-chain] address multipart nullish checks false positive
eslint-plugin: [prefer-optional-chain] properly disambiguate between
booleanandfalseeslint-plugin: [no-unnecessary-type-assertion] avoid remove const casting on template literals with expressions inside
❤️ Thank You
You can read about our versioning strategy and releases on our website.
eslint/eslint (eslint)
v8.57.1Compare Source
Bug Fixes
a19072ffix: add logic to handle fixTypes in the lintText() method (#18900) (Francesco Trotta)04c7188fix: Don't lint same file multiple times (#18899) (Francesco Trotta)87ec3c4fix: do not throw when defining a global named__defineSetter__(#18898) (Francesco Trotta)60a1267fix: Provide helpful error message for nullish configs (#18889) (Milos Djermanovic)a0dea8efix: allownamein global ignores, fix--no-ignorefor non-global (#18875) (Milos Djermanovic)3836bb4fix: do not crash on error infs.walkfilter (#18886) (Milos Djermanovic)2dec349fix: skip processor code blocks that match only universal patterns (#18880) (Milos Djermanovic)Documentation
6a5add4docs: v8.x Add EOL banner (#18744) (Amaresh S M)b034575docs: v8.x add version support page to the dropdown (#18731) (Amaresh S M)760ef7ddocs: v8.x add version support page in the side navbar (#18740) (Amaresh S M)428b7eadocs: Add Powered by Algolia label to the search (#18658) (Amaresh S M)c68c07fdocs: version selectors synchronization (#18265) (Milos Djermanovic)Build Related
35d366abuild: Support updates to previous major versions (#18870) (Milos Djermanovic)Chores
140ec45chore: upgrade @eslint/js@8.57.1 (#18913) (Milos Djermanovic)bcdfc04chore: package.json update for @eslint/js release (Jenkins)3f6ce8dchore: pin vite-plugin-commonjs@0.10.1 (#18910) (Milos Djermanovic)9f07549chore: ignore/docs/v8.xin link checker (#18660) (Milos Djermanovic)import-js/eslint-plugin-import (eslint-plugin-import)
v2.32.0Compare Source
Added
enforce-node-protocol-usage] rule andimport/node-versionsetting ([#3024], thanks [@GoldStrikeArch] and [@sevenc-nanashi])extensions]: add `pathGroupOverrides to allow enforcement decision overrides based on specifier ([#3105], thanks [@Xunnamius])order]: addsortTypesGroupoption to allow intragroup sorting of type-only imports ([#3104], thanks [@Xunnamius])order]: addnewlines-between-typesoption to control intragroup sorting of type-only imports ([#3127], thanks [@Xunnamius])order]: addconsolidateIslandsoption to collapse excess spacing for aesthetically pleasing imports ([#3129], thanks [@Xunnamius])Fixed
no-unused-modules]: provide more meaningful error message when no .eslintrc is present ([#3116], thanks [@michaelfaith])order]: ensure arcane imports do not cause undefined behavior ([#3128], thanks [@Xunnamius])order]: resolve undefined property access issue when usingnamedordering ([#3166], thanks [@Xunnamius])enforce-node-protocol-usage]: avoid a crash with some TS code ([#3173], thanks [@ljharb])order]: codify invariants from docs into config schema ([#3152], thanks [@Xunnamius])Changed
extensions], [order]: improve documentation ([#3106], thanks [@Xunnamius])tseslint.config()([#3125], thanks [@lnuvy])order]: remove unnecessary negative check ([#3167], thanks [@JounQin])no-unused-modules]: add missing double quote ([#3191], thanks [@albertpastrana])no-restricted-paths: clarify wording and fix errors ([#3172], thanks [@greim])v2.31.0Compare Source
Added
order]: allow validating named imports ([#3043], thanks [@manuth])extensions]: add thecheckTypeImportsoption ([#2817], thanks [@phryneas])Fixed
ExportMap/ flat config: includelanguageOptionsin context ([#3052], thanks [@michaelfaith])no-named-as-default]: Allow using an identifier if the export is both a named and a default export ([#3032], thanks [@akwodkiewicz])export]: False positive for exported overloaded functions in TS ([#3065], thanks [@liuxingbaoyu])exportMap: export map cache is tainted by unreliable parse results ([#3062], thanks [@michaelfaith])exportMap: improve cacheKey when using flat config ([#3072], thanks [@michaelfaith])Changed
no-relative-packages]: fix typo ([#3066], thanks [@joshuaobrien])no-cycle]: dont scc for each linted file ([#3068], thanks [@soryy708])no-cycle]: adddisableSccto docs ([#3070], thanks [@soryy708])RuleTester([#3071], thanks [@G-Rath])no-restricted-paths]: fix grammar ([#3073], thanks [@unbeauvoyage])no-default-export], [no-named-export]: add test case (thanks [@G-Rath])v2.30.0Compare Source
Added
dynamic-import-chunkname]: addallowEmptyoption to allow empty leading comments ([#2942], thanks [@JiangWeixian])dynamic-import-chunkname]: Allow empty chunk name when webpackMode: 'eager' is set; add suggestions to remove name in eager mode ([#3004], thanks [@amsardesai])no-unused-modules]: AddignoreUnusedTypeExportsoption ([#3011], thanks [@silverwind])Fixed
no-extraneous-dependencies]: allow wrong path ([#3012], thanks [@chabb])no-cycle]: use scc algorithm to optimize ([#2998], thanks [@soryy708])no-duplicates]: Removing duplicates breaks in TypeScript ([#3033], thanks [@yesl-kim])newline-after-import]: fix considerComments option when require ([#2952], thanks [@developer-bandi])order]: do not compare first path segment for relative paths ([#2682]) ([#2885], thanks [@mihkeleidast])Changed
no-extraneous-dependencies]: Make glob pattern description more explicit ([#2944], thanks [@mulztob])no-unused-modules]: add console message to help debug [#2866]ExportMap: make procedures static instead of monkeypatching exportmap ([#2982], thanks [@soryy708])ExportMap: separate ExportMap instance from its builder logic ([#2985], thanks [@soryy708])order]: Add a quick note on how unbound imports and --fix ([#2640], thanks [@minervabot])exportMapBuilder: avoid hoisting ([#2989], thanks [@soryy708])ExportMap: extract "builder" logic to separate files ([#2991], thanks [@soryy708])order]: update the description of thepathGroupsExcludedImportTypesoption ([#3036], thanks [@liby])jsx-eslint/eslint-plugin-react (eslint-plugin-react)
v7.37.5Compare Source
Fixed
no-unknown-property]: allow shadow root attrs on<template>(#3912 @ljharb)prop-types]: supportComponentPropsWithReffrom 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-originonrect(#3914 @ljharb)Changed
button-has-type]: clean up phrasing (#3909 @hamirmahal)v7.37.4Compare Source
Fixed
no-unknown-property]: supportonBeforeToggle,popoverTarget,popoverTargetActionattributes (#3865 @acusti)v7.37.3Compare Source
Fixed
no-danger]: avoid a crash on a nested component name (#3833 @ljharb)no-unknown-property]: supportprecedenceprop 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.2Compare Source
Fixed
destructuring-assignment]: fix false negative when usingtypeof props.a(#3835 @golopot)Changed
destructuring-assignment]: usegetParentStatelessComponent(#3835 @golopot)v7.37.1Compare Source
Fixed
d.tsfiles (#3836 @ljharb)Changed
v7.37.0Compare Source
Added
no-unescaped-entities]: add suggestions (#3831 @StyleShit)forbid-component-props]: addallowedForPatterns/disallowedForPatternsoptions (#3805 @Efimenko)no-unstable-nested-components]: addpropNamePatternto support custom render prop naming conventions (#3826 @danreeves)Changed
v7.36.1Compare 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.0Compare Source
Added
no-string-refs]: allow this.refs in > 18.3.0 (#3807 @henryqdineen)jsx-no-literals] AddelementOverridesoption 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]: addexplicitSpreadoption 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.2Compare Source
Fixed
jsx-curly-brace-presence]: avoid autofixing attributes with double quotes to a double quoted attribute (#3814 @ljharb)v7.35.1Compare Source
Fixed
jsx-curly-brace-presence]: do not trigger on strings containing a quote character (#3798 @akulsr0)v7.35.0Compare Source
Added
jsx-props-no-spread-multi] (#3724 @SimonSchick)forbid-component-props]: addpropNamePatternto allow / disallow prop name patterns (#3774 @akulsr0)jsx-handler-names]: support ignoring component names (#3772 @akulsr0)jsx-closing-tag-location]: addline-alignedoption (#3777 @kimtaejin3)no-danger]: addcustomComponentNamesoption (#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.4Compare Source
Fixed
prop-types]: fixclassNamemissing in prop validation false negative (#3749 @akulsr0)sort-prop-types]: Check for undefined before accessingnode.typeAnnotation.typeAnnotation(#3779 @tylerlaprade)v7.34.3Compare Source
Fixed
prop-types]: null-check rootNode before calling getScope (#3762 @crnhrv)boolean-prop-naming]: avoid a crash with a spread prop (#3733 @ljharb)jsx-boolean-value]:assumeUndefinedIsFalsewithnevermust not allow explicittruevalue (#3757 @6uliver)no-object-type-as-default-prop]: enable rule for components with many parameters (#3768 @JulienR1)jsx-key]: incorrect behavior for checkKeyMustBeforeSpread with map callbacks (#3769 @akulsr0)v7.34.2Compare Source
Fixed
boolean-prop-naming]: avoid a crash with a non-TSTypeReference type (#3718 @developer-bandi)jsx-no-leaked-render]: invalid report if left eside is boolean (#3746 @akulsr0)jsx-closing-bracket-location]: message shows{{details}}when there are no details (#3759 @mdjermanovic)no-invalid-html-attribute]: ensure error messages are correct (#3759 @mdjermanovic, @ljharb)Changed
Configuration
📅 Schedule: Branch creation - Between 12:00 AM and 03:59 AM, only on Monday ( * 0-3 * * 1 ) in timezone UTC, Automerge - "after 8:00 before 23:00 every weekday except on Friday" in timezone 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.