-
Notifications
You must be signed in to change notification settings - Fork 1
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
chore(deps): update linters to v7 (major) #59
base: main
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
New and removed dependencies detected. Learn more about Socket for GitHub ↗︎
🚮 Removed packages: npm/@typescript-eslint/eslint-plugin@5.59.8, npm/@typescript-eslint/parser@5.59.8, npm/eslint-config-sanity@6.0.0 |
800a7e6
to
1b2501f
Compare
1b2501f
to
d6909ae
Compare
d6909ae
to
e0cf40f
Compare
e0cf40f
to
df620ae
Compare
df620ae
to
17abbd0
Compare
17abbd0
to
1fec40e
Compare
1fec40e
to
4be6522
Compare
4be6522
to
e6ce6df
Compare
e6ce6df
to
b7975b2
Compare
b7975b2
to
86bf204
Compare
👍 Dependency issues cleared. Learn more about Socket for GitHub ↗︎ This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored. |
86bf204
to
46ff971
Compare
f81b12d
to
4dec399
Compare
4dec399
to
13c5ec3
Compare
13c5ec3
to
33707ad
Compare
33707ad
to
2fa95fb
Compare
2fa95fb
to
765e9f5
Compare
765e9f5
to
42543bb
Compare
42543bb
to
72e667a
Compare
76507e9
to
349de79
Compare
349de79
to
b6aeef7
Compare
b6aeef7
to
2dba1e7
Compare
69fc732
to
3e4cef1
Compare
3e4cef1
to
e0c41d2
Compare
e0c41d2
to
af1d248
Compare
af1d248
to
54d274b
Compare
54d274b
to
5faf8dc
Compare
5faf8dc
to
43f1e1f
Compare
This PR contains the following updates:
^5.42.0
->^7.18.0
^5.42.0
->^7.18.0
^6.0.0
->^7.1.3
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.
v7.2.0
Compare Source
🚀 Features
support TS 5.4
eslint-plugin: [prefer-string-starts-ends-with] add allowSingleElementEquality option
🩹 Fixes
eslint-plugin: expose *-type-checked-only configs for extension
eslint-plugin: [member-ordering] report alphabetical sorting for all groups instead of just the first failing group
eslint-plugin: [no-var-requires, no-require-imports] support template literal
eslint-plugin: [no-useless-template-literals] detect TemplateLiteral
eslint-plugin: [no-unnecessary-condition] handle union array and tuple type
eslint-plugin: [prefer-find] support ternary branches in prefer-find
❤️ Thank You
You can read about our versioning strategy and releases on our website.
v7.1.1
Compare Source
This was a version bump only for eslint-plugin to align it with other projects, there were no code changes.
You can read about our versioning strategy and releases on our website.
v7.1.0
Compare Source
🚀 Features
eslint-plugin: add *-type-checked-only configs
eslint-plugin: [naming-convention] support the auto-accessor syntax
eslint-plugin: [consistent-return] add new rule
🩹 Fixes
eslint-plugin: [prefer-optional-chan] allow typeof for avoiding reference error
eslint-plugin: [no-misused-promises] improve check union types
eslint-plugin: [no-use-before-define] fix false positive type reference in as, satisfies
❤️ Thank You
You can read about our versioning strategy and releases on our website.
v7.0.2
Compare Source
🩹 Fixes
@types/eslint
incompatibilities, add tests❤️ Thank You
You can read about our versioning strategy and releases on our website.
v7.0.1
Compare Source
🩹 Fixes
❤️ Thank You
You can read about our versioning strategy and releases on our website.
v7.0.0
Compare Source
🚀 Features
add support for flat configs
🩹 Fixes
❤️ Thank You
You can read about our versioning strategy and releases on our website.
6.21.0 (2024-02-05)
🚀 Features
export plugin metadata
allow
parserOptions.project: false
eslint-plugin: add rule prefer-find
🩹 Fixes
eslint-plugin: [no-unused-vars] don't report on types referenced in export assignment expression
eslint-plugin: [switch-exhaustiveness-check] better support for intersections, infinite types, non-union values
eslint-plugin: [consistent-type-imports] dont report on types used in export assignment expressions
eslint-plugin: [no-unnecessary-condition] handle left-hand optional with exactOptionalPropertyTypes option
eslint-plugin: [class-literal-property-style] allow getter when same key setter exists
eslint-plugin: [no-unnecessary-type-assertion] provide valid fixes for assertions with extra tokens before
as
keyword❤️ Thank You
You can read about our versioning strategy and releases on our website.
6.20.0 (2024-01-29)
🚀 Features
🩹 Fixes
eslint-plugin: [no-useless-template-literals] incorrect bigint autofix result
eslint-plugin: [prefer-nullish-coalescing] treat any/unknown as non-nullable
eslint-plugin: [no-useless-template-literals] report Infinity & NaN
eslint-plugin: [prefer-readonly] disable checking accessors
❤️ Thank You
You can read about our versioning strategy and releases on our website.
6.19.1 (2024-01-22)
🩹 Fixes
type-utils: preventing isUnsafeAssignment infinite recursive calls
eslint-plugin: [no-unnecessary-condition] fix false positive for type variable
❤️ Thank You
You can read about our versioning strategy and releases on our website.
6.19.0 (2024-01-15)
🚀 Features
eslint-plugin: [prefer-promise-reject-errors] add rule
eslint-plugin: [no-array-delete] add new rule
eslint-plugin: [no-useless-template-literals] add fix suggestions
🩹 Fixes
eslint-plugin: [no-unnecessary-type-assertion] detect unnecessary non-null-assertion on a call expression
eslint-plugin: [no-unnecesary-type-assertion] treat unknown/any as nullable
❤️ Thank You
You can read about our versioning strategy and releases on our website.
6.18.1 (2024-01-08)
🩹 Fixes
eslint-plugin: [no-non-null-assertion] provide valid fix when member access is on next line
eslint-plugin: [no-unnecessary-condition] improve checking optional callee
eslint-plugin: [prefer-readonly] support modifiers of unions and intersections
eslint-plugin: [switch-exhaustiveness-check] fix new allowDefaultCaseForExhaustiveSwitch option
❤️ Thank You
You can read about our versioning strategy and releases on our website.
6.18.0 (2024-01-06)
🚀 Features
typescript-estree: throw on invalid update expressions
eslint-plugin: [no-var-requires, no-require-imports] allow option
❤️ Thank You
You can read about our versioning strategy and releases on our website.
v6.21.0
Compare Source
🚀 Features
export plugin metadata
allow
parserOptions.project: false
eslint-plugin: add rule prefer-find
🩹 Fixes
eslint-plugin: [no-unused-vars] don't report on types referenced in export assignment expression
eslint-plugin: [switch-exhaustiveness-check] better support for intersections, infinite types, non-union values
eslint-plugin: [consistent-type-imports] dont report on types used in export assignment expressions
eslint-plugin: [no-unnecessary-condition] handle left-hand optional with exactOptionalPropertyTypes option
eslint-plugin: [class-literal-property-style] allow getter when same key setter exists
eslint-plugin: [no-unnecessary-type-assertion] provide valid fixes for assertions with extra tokens before
as
keyword❤️ Thank You
You can read about our versioning strategy and releases on our website.
v6.20.0
Compare Source
🚀 Features
🩹 Fixes
eslint-plugin: [no-useless-template-literals] incorrect bigint autofix result
eslint-plugin: [prefer-nullish-coalescing] treat any/unknown as non-nullable
eslint-plugin: [no-useless-template-literals] report Infinity & NaN
eslint-plugin: [prefer-readonly] disable checking accessors
❤️ Thank You
You can read about our versioning strategy and releases on our website.
v6.19.1
Compare Source
🩹 Fixes
type-utils: preventing isUnsafeAssignment infinite recursive calls
eslint-plugin: [no-unnecessary-condition] fix false positive for type variable
❤️ Thank You
You can read about our versioning strategy and releases on our website.
v6.19.0
Compare Source
🚀 Features
eslint-plugin: [prefer-promise-reject-errors] add rule
eslint-plugin: [no-array-delete] add new rule
eslint-plugin: [no-useless-template-literals] add fix suggestions
🩹 Fixes
eslint-plugin: [no-unnecessary-type-assertion] detect unnecessary non-null-assertion on a call expression
eslint-plugin: [no-unnecesary-type-assertion] treat unknown/any as nullable
❤️ Thank You
You can read about our versioning strategy and releases on our website.
v6.18.1
Compare Source
🩹 Fixes
eslint-plugin: [no-non-null-assertion] provide valid fix when member access is on next line
eslint-plugin: [no-unnecessary-condition] improve checking optional callee
eslint-plugin: [prefer-readonly] support modifiers of unions and intersections
eslint-plugin: [switch-exhaustiveness-check] fix new allowDefaultCaseForExhaustiveSwitch option
❤️ Thank You
You can read about our versioning strategy and releases on our website.
v6.18.0
Compare Source
🚀 Features
typescript-estree: throw on invalid update expressions
eslint-plugin: [no-var-requires, no-require-imports] allow option
❤️ Thank You
You can read about our versioning strategy and releases on our website.
v6.17.0
Compare Source
Bug Fixes
patterns
orpaths
in options are empty (#8108) (675e987)Features
default
case on an already exhaustiveswitch
(#7539) (6a219bd)You can read about our versioning strategy and releases on our website.
v6.16.0
Compare Source
Bug Fixes
Features
You can read about our versioning strategy and releases on our website.
v6.15.0
Compare Source
Features
You can read about our versioning strategy and releases on our website.
v6.14.0
Compare Source
Bug Fixes
no-unsafe-unary-minus
(#7998) (705370a)Features
You can read about our versioning strategy and releases on our website.
6.13.2 (2023-12-04)
Note: Version bump only for package @typescript-eslint/eslint-plugin
You can read about our versioning strategy and releases on our website.
6.13.1 (2023-11-28)
Note: Version bump only for package @typescript-eslint/eslint-plugin
You can read about our versioning strategy and releases on our website.
v6.13.2
Compare Source
Note: Version bump only for package @typescript-eslint/eslint-plugin
You can read about our versioning strategy and releases on our website.
v6.13.1
Compare Source
Note: Version bump only for package @typescript-eslint/eslint-plugin
You can read about our versioning strategy and releases on our website.
v6.13.0
Compare Source
Note: Version bump only for package @typescript-eslint/eslint-plugin
You can read about our versioning strategy and releases on our website.
v6.12.0
Compare Source
Bug Fixes
ignoreClassesThatImplementAnInterface
is set (#7705) (155aa1f)Features
You can read about our versioning strategy and releases on our website.
v6.11.0
Compare Source
Bug Fixes
allowTypedFunctionExpressions
(#7553) (be2777c)Features
no-unsafe-unary-minus
rule (#7390) (c4709c2)CodePath
selector types (#7551) (99a026f)You can read about our versioning strategy and releases on our website.
v6.10.0
Compare Source
Bug Fixes
Features
You can read about our versioning strategy and releases on our website.
6.9.1 (2023-10-30)
Bug Fixes
You can read about our versioning strategy and releases on our website.
v6.9.1
Compare Source
Bug Fixes
You can read about our versioning strategy and releases on our website.
v6.9.0
Compare Source
Bug Fixes
Features
this: void
parameter (#7696) (6398d3f), closes #7538You can read about our versioning strategy and releases on our website.
v6.8.0
Compare Source
Bug Fixes
Configuration
📅 Schedule: Branch creation - "before 3am on the first day of the month" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR has been generated by Mend Renovate using a curated preset maintained by . View repository job log here