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.2.0
->^7.18.0
^8.57.0
->^8.57.1
^2.29.1
->^2.30.0
^7.34.0
->^7.37.1
^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.
v7.3.1
Compare Source
🩹 Fixes
❤️ Thank You
You can read about our versioning strategy and releases on our website.
v7.3.0
Compare Source
🚀 Features
eslint-plugin: [restrict-template-expressions] add
allowArray
optioneslint-plugin: add meta.docs.recommended setting for strict config options
eslint-plugin: add rule
use-unknown-in-catch-callback-variables
eslint-plugin: [prefer-reduce-type-parameter] supports tuple, union, intersection
🩹 Fixes
correct
engines.node
constraints inpackage.json
eslint-plugin: [unbound-method] check method definition in object literal using longhand form
eslint-plugin: [consistent-type-imports] handle imports without specifiers
eslint-plugin: [no-redundant-type-constituents] incorrectly marks & string as redundant
eslint-plugin: [no-unnecessary-qualifier] handle merge namespace with enum
eslint-plugin: [no-unused-expressions] false negatives when using assertions
eslint-plugin: [ban-ts-comment] more accurate handling of multiline comments
eslint-plugin: [explicit-function-return-type, explicit-module-boundary-types] improved checking for allowHigherOrderFunctions option
eslint-plugin: [class-literal-property-style] ignore property assigned in constructor
eslint-plugin: [no-unnecessary-type-assertion] fix false negative for const variable declarations
❤️ Thank You
You can read about our versioning strategy and releases on our website.
eslint/eslint (eslint)
v8.57.1
Compare Source
import-js/eslint-plugin-import (eslint-plugin-import)
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.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)undefined
[#1000]: https://github.com/jsx-eslint/eslint-plugin-react/pull/1000%0A[#1002]: https://github.com/jsx-eslint/eslint-plugin-react/issues/1002%0A[#1005]: https://github.com/jsx-eslint/eslint-plugin-react/pull/1005%0A[#100]: https://github.com/jsx-eslint/eslint-plugin-react/issues/100%0A[#1010]: https://github.com/jsx-eslint/eslint-plugin-react/pull/1010%0A[#1013]: https://github.com/jsx-eslint/eslint-plugin-react/pull/1013%0A[#1022]: https://github.com/jsx-eslint/eslint-plugin-react/issues/1022%0A[#1029]: https://github.com/jsx-eslint/eslint-plugin-react/issues/1029%0A[#102]: https://github.com/jsx-eslint/eslint-plugin-react/issues/102%0A[#1034]: https://github.com/jsx-eslint/eslint-plugin-react/issues/1034%0A[#1038]: https://github.com/jsx-eslint/eslint-plugin-react/pull/1038%0A[#1041]: https://github.com/jsx-eslint/eslint-plugin-react/pull/1041%0A[#1043]: https://github.com/jsx-eslint/eslint-plugin-react/issues/1043%0A[#1046]: https://github.com/jsx-eslint/eslint-plugin-react/issues/1046%0A[#1047]: https://github.com/jsx-eslint/eslint-plugin-react/issues/1047%0A[#1050]: https://github.com/jsx-eslint/eslint-plugin-react/pull/1050%0A[#1053]: https://github.com/jsx-eslint/eslint-plugin-react/issues/1053%0A[#1057]: https://github.com/jsx-eslint/eslint-plugin-react/issues/1057%0A[#105]: https://github.com/jsx-eslint/eslint-plugin-react/issues/105%0A[#1061]: https://github.com/jsx-eslint/eslint-plugin-react/issues/1061%0A[#1062]: https://github.com/jsx-eslint/eslint-plugin-react/pull/1062%0A[#1070]: https://github.com/jsx-eslint/eslint-plugin-react/pull/1070%0A[#1071]: https://github.com/jsx-eslint/eslint-plugin-react/pull/1071%0A[#1073]: https://github.com/jsx-eslint/eslint-plugin-react/issues/1073%0A[#1076]: https://github.com/jsx-eslint/eslint-plugin-react/issues/1076%0A[#1079]: https://github.com/jsx-eslint/eslint-plugin-react/issues/1079%0A[#1088]: https://github.com/jsx-eslint/eslint-plugin-react/issues/1088%0A[#1098]: https://github.com/jsx-eslint/eslint-plugin-react/pull/1098%0A[#1101]: https://github.com/jsx-eslint/eslint-plugin-react/issues/1101%0A[#1103]: https://github.com/jsx-eslint/eslint-plugin-react/pull/1103%0A[#110]: https://github.com/jsx-eslint/eslint-plugin-react/issues/110%0A[#1116]: https://github.com/jsx-eslint/eslint-plugin-react/issues/1116%0A[#1117]: https://github.com/jsx-eslint/eslint-plugin-react/issues/1117%0A[#1119]: https://github.com/jsx-eslint/eslint-plugin-react/pull/1119%0A[#1121]: https://github.com/jsx-eslint/eslint-plugin-react/pull/1121%0A[#1122]: https://github.com/jsx-eslint/eslint-plugin-react/pull/1122%0A[#1123]: https://github.com/jsx-eslint/eslint-plugin-react/issues/1123%0A[#1130]: https://github.com/jsx-eslint/eslint-plugin-react/pull/1130%0A[#1131]: https://github.com/jsx-eslint/eslint-plugin-react/pull/1131%0A[#1132]: https://github.com/jsx-eslint/eslint-plugin-react/pull/1132%0A[#1134]: https://github.com/jsx-eslint/eslint-plugin-react/pull/1134%0A[#1135]: https://github.com/jsx-eslint/eslint-plugin-react/issues/1135%0A[#1139]: https://github.com/jsx-eslint/eslint-plugin-react/pull/1139%0A[#1148]: https://github.com/jsx-eslint/eslint-plugin-react/pull/1148%0A[#1149]: https://github.com/jsx-eslint/eslint-plugin-react/pull/1149%0A[#114]: https://github.com/jsx-eslint/eslint-plugin-react/pull/114%0A[#1151]: https://github.com/jsx-eslint/eslint-plugin-react/pull/1151%0A[#1155]: https://github.com/jsx-eslint/eslint-plugin-react/pull/1155%0A[#1161]: https://github.com/jsx-eslint/eslint-plugin-react/issues/1161%0A[#1167]: https://github.com/jsx-eslint/eslint-plugin-react/pull/1167%0A[#1173]: https://github.com/jsx-eslint/eslint-plugin-react/pull/1173%0A[#1174]: https://github.com/jsx-eslint/eslint-plugin-react/issues/1174%0A[#1175]: https://github.com/jsx-eslint/eslint-plugin-react/issues/1175%0A[#1178]: https://github.com/jsx-eslint/eslint-plugin-react/issues/1178%0A[#1179]: https://github.com/jsx-eslint/eslint-plugin-react/pull/1179%0A[#117]: https://github.com/jsx-eslint/eslint-plugin-react/pull/117%0A[#1180]: https://github.com/jsx-eslint/eslint-plugin-react/pull/1180%0A[#1183]: https://github.com/jsx-eslint/eslint-plugin-react/issues/1183%0A[#1189]: https://github.com/jsx-eslint/eslint-plugin-react/issues/1189%0A[#118]: https://github.com/jsx-eslint/eslint-plugin-react/issues/118%0A[#1192]: https://github.com/jsx-eslint/eslint-plugin-react/pull/1192%0A[#1195]: https://github.com/jsx-eslint/eslint-plugin-react/pull/1195%0A[#1199]: https://github.com/jsx-eslint/eslint-plugin-react/pull/1199%0A[#119]: https://github.com/jsx-eslint/eslint-plugin-react/pull/119%0A[#11]: https://github.com/jsx-eslint/eslint-plugin-react/issues/11%0A[#1201]: https://github.com/jsx-eslint/eslint-plugin-react/issues/1201%0A[#1202]: https://github.com/jsx-eslint/eslint-plugin-react/pull/1202%0A[#1206]: https://github.com/jsx-eslint/eslint-plugin-react/issues/1206%0A[#1213]: https://github.com/jsx-eslint/eslint-plugin-react/issues/1213%0A[#1216]: https://github.com/jsx-eslint/eslint-plugin-react/pull/1216%0A[#1222]: https://github.com/jsx-eslint/eslint-plugin-react/pull/1222%0A[#1226]: https://github.com/jsx-eslint/eslint-plugin-react/pull/1226%0A[#1227]: https://github.com/jsx-eslint/eslint-plugin-react/pull/1227%0A[#122]: https://github.com/jsx-eslint/eslint-plugin-react/issues/122%0A[#1231]: https://github.com/jsx-eslint/eslint-plugin-react/pull/1231%0A[#1236]: https://github.com/jsx-eslint/eslint-plugin-react/pull/1236%0A[#1239]: https://github.com/jsx-eslint/eslint-plugin-react/pull/1239%0A[#123]: https://github.com/jsx-eslint/eslint-plugin-react/pull/123%0A[#1241]: https://github.com/jsx-eslint/eslint-plugin-react/pull/1241%0A[#1242]: https://github.com/jsx-eslint/eslint-plugin-react/issues/1242%0A[#1246]: https://github.com/jsx-eslint/eslint-plugin-react/issues/1246%0A[#1249]: https://github.com/jsx-eslint/eslint-plugin-react/issues/1249%0A[#1253]: https://github.com/jsx-eslint/eslint-plugin-react/pull/1253%0A[#1257]: https://github.com/jsx-eslint/eslint-plugin-react/issues/1257%0A[#125]: https://github.com/jsx-eslint/eslint-plugin-react/issues/125%0A[#1260]: https://github.com/jsx-eslint/eslint-plugin-react/pull/1260%0A[#1261]: https://github.com/jsx-eslint/eslint-plugin-react/pull/1261%0A[#1262]: https://github.com/jsx-eslint/eslint-plugin-react/issues/1262%0A[#1264]: https://github.com/jsx-eslint/eslint-plugin-react/pull/1264%0A[#1266]: https://github.com/jsx-eslint/eslint-plugin-react/issues/1266%0A[#1269]: https://github.com/jsx-eslint/eslint-plugin-react/issues/1269%0A[#1273]: https://github.com/jsx-eslint/eslint-plugin-react/pull/1273%0A[#1274]: https://github.com/jsx-eslint/eslint-plugin-react/pull/1274%0A[#1277]: https://github.com/jsx-eslint/eslint-plugin-react/pull/1277%0A[#127]: https://github.com/jsx-eslint/eslint-plugin-react/pull/127%0A[#1281]: https://github.com/jsx-eslint/eslint-plugin-react/pull/1281%0A[#1287]: https://github.com/jsx-eslint/eslint-plugin-react/issues/1287%0A[#1288]: https://github.com/jsx-eslint/eslint-plugin-react/issues/1288%0A[#1289]: https://github.com/jsx-eslint/eslint-plugin-react/pull/1289%0A[#128]: [https://github.com/jsx-eslint/eslint-plugin-react/issues/128](https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues
Configuration
📅 Schedule: Branch creation - "before 4am on Monday" 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.