-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
chore(deps): update linters #163
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 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
2d35cd3
to
609466a
Compare
3c86563
to
777dc9d
Compare
777dc9d
to
9ae3326
Compare
77aeebf
to
b598d3a
Compare
b598d3a
to
2b9372d
Compare
c066f62
to
127ae33
Compare
127ae33
to
a5eafdd
Compare
a5eafdd
to
f871dc5
Compare
0e9771f
to
b9ce976
Compare
b9ce976
to
35059fc
Compare
35059fc
to
51ca1df
Compare
b747d68
to
e746d41
Compare
9f30e57
to
2c5d901
Compare
6888e75
to
2a6775b
Compare
2a6775b
to
810995a
Compare
# for free
to join this conversation on GitHub.
Already have an account?
# 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.31.0
^7.34.1
->^7.37.4
^4.6.0
->^4.6.2
Release Notes
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.
v7.15.0
Compare Source
🚀 Features
eslint-plugin: [array-type] detect
Readonly<string[]>
caseeslint-plugin: back-port new rules around empty object types from v8
🩹 Fixes
disable
EXPERIMENTAL_useProjectService
indisabled-type-checked
shared 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.1
Compare 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.0
Compare 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.1
Compare 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.0
Compare Source
🚀 Features
typescript-estree: require
import = require()
argument to be a string literaltypescript-estree: forbid
.body
,.async
,.generator
ondeclare function
eslint-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
ignore
option❤️ Thank You
You can read about our versioning strategy and releases on our website.
v7.12.0
Compare 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
checkDuplicateTestCases
from 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
const
variable 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
declare
seslint-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.0
Compare Source
🚀 Features
🩹 Fixes
❤️ Thank You
You can read about our versioning strategy and releases on our website.
v7.10.0
Compare Source
🚀 Features
🩹 Fixes
❤️ Thank You
You can read about our versioning strategy and releases on our website.
v7.9.0
Compare Source
🩹 Fixes
❤️ Thank You
You can read about our versioning strategy and releases on our website.
v7.8.0
Compare 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.1
Compare 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
requireNullish
eslint-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.0
Compare Source
🚀 Features
no-new-symbol
withno-new-native-nonconstructor
❤️ Thank You
You can read about our versioning strategy and releases on our website.
v7.6.0
Compare Source
🚀 Features
❤️ Thank You
You can read about our versioning strategy and releases on our website.
v7.5.0
Compare 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.0
Compare 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
boolean
andfalse
eslint-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.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 vite-plugin-commonjs@0.10.1 (#18910) (Milos Djermanovic)9f07549
chore: ignore/docs/v8.x
in link checker (#18660) (Milos Djermanovic)import-js/eslint-plugin-import (eslint-plugin-import)
v2.31.0
Compare Source
Added
order
]: allow validating named imports ([#3043], thanks [@manuth])extensions
]: add thecheckTypeImports
option ([#2817], thanks [@phryneas])Fixed
ExportMap
/ flat config: includelanguageOptions
in 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
]: adddisableScc
to 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.0
Compare Source
Added
dynamic-import-chunkname
]: addallowEmpty
option 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
]: AddignoreUnusedTypeExports
option ([#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 thepathGroupsExcludedImportTypes
option ([#3036], thanks [@liby])jsx-eslint/eslint-plugin-react (eslint-plugin-react)
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)v7.34.3
Compare 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
]:assumeUndefinedIsFalse
withnever
must not allow explicittrue
value (#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.2
Compare 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
facebook/react (eslint-plugin-react-hooks)
v4.6.2
Compare Source
v4.6.1
Compare Source
Configuration
📅 Schedule: Branch creation - "* 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.