groqz
groqz copied to clipboard
fix(deps): Update linters to v6 (major)
This PR contains the following updates:
Package | Change | Age | Adoption | Passing | Confidence |
---|---|---|---|---|---|
@typescript-eslint/eslint-plugin (source) | ^5.47.1 -> ^6.0.0 |
||||
@typescript-eslint/parser (source) | ^5.47.1 -> ^6.0.0 |
Release Notes
typescript-eslint/typescript-eslint (@βtypescript-eslint/eslint-plugin)
v6.21.0
π 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
- auvred
- Brad Zacher
- Kirk Waiblinger
- Pete Gonzalez
- YeonJuan
You can read about our versioning strategy and releases on our website.
v6.20.0
π Features
- eslint-plugin: [member-ordering] allow easy reuse of the default ordering
π©Ή 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
- Alex Parloti
- auvred
- James Browning
- StyleShit
- YeonJuan
You can read about our versioning strategy and releases on our website.
v6.19.1
π©Ή Fixes
-
type-utils: preventing isUnsafeAssignment infinite recursive calls
-
eslint-plugin: [no-unnecessary-condition] fix false positive for type variable
β€οΈ Thank You
- YeonJuan
You can read about our versioning strategy and releases on our website.
v6.19.0
π 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
- auvred
- Brad Zacher
- Josh Goldberg β¨
- Joshua Chen
- LJX
- Steven
- StyleShit
You can read about our versioning strategy and releases on our website.
v6.18.1
π©Ή 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
- auvred
- James
- Josh Goldberg β¨
- YeonJuan
You can read about our versioning strategy and releases on our website.
v6.18.0
π Features
-
typescript-estree: throw on invalid update expressions
-
eslint-plugin: [no-var-requires, no-require-imports] allow option
β€οΈ Thank You
- auvred
- Joshua Chen
You can read about our versioning strategy and releases on our website.
v6.17.0
Bug Fixes
-
eslint-plugin: [no-restricted-imports] prevent crash when
patterns
orpaths
in options are empty (#β8108) (675e987)
Features
- eslint-plugin: [no-floating-promises] flag result of .map(async) (#β7897) (5857356)
-
eslint-plugin: [switch-exhaustiveness-check] add an option to warn against a
default
case on an already exhaustiveswitch
(#β7539) (6a219bd)
You can read about our versioning strategy and releases on our website.
v6.16.0
Bug Fixes
Features
- eslint-plugin: deprecate formatting (meta.type: layout) rules (#β8073) (04dea84)
- eslint-plugin: deprecate no-extra-semi in favor of ESLint Stylistic equivalent (#β8123) (9368bf3)
You can read about our versioning strategy and releases on our website.
v6.15.0
Features
- eslint-plugin: [no-useless-template-literals] add new rule (#β7957) (ff75785), closes #β2846
- require-array-sort-compare + toSorted (#β8052) (c9661c8)
You can read about our versioning strategy and releases on our website.
v6.14.0
Bug Fixes
- eslint-plugin: add no-unsafe-unary-minus, prefer-destructuring to disable-type-checked (#β8038) (431cd15)
-
eslint-plugin: correct message for
no-unsafe-unary-minus
(#β7998) (705370a)
Features
- eslint-plugin: [explicit-function-return-type] add support for typed class property definitions (#β8027) (bff47d7)
- eslint-plugin: [require-await] allow yielding Promise in async generators (#β8003) (4c3e704)
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
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
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
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
Bug Fixes
-
eslint-plugin: [class-methods-use-this] detect a problematic case for private/protected members if
ignoreClassesThatImplementAnInterface
is set (#β7705) (155aa1f) - eslint-plugin: [no-unnecessary-condition] fix false positive with computed member access and branded key type (#β7706) (f151b26)
- eslint-plugin: [switch-exhaustiveness-check] enum members with new line or single quotes are not being fixed correctly (#β7806) (a034d0a), closes #β7768
Features
- [member-ordering] add accessor support for member-ordering (#β7927) (3c8312d)
- eslint-plugin: [switch-exhaustiveness-check] add requireDefaultForNonUnion option (#β7880) (4cfcd45)
You can read about our versioning strategy and releases on our website.
v6.11.0
Bug Fixes
-
eslint-plugin: [explicit-function-return-type] support JSX attributes in
allowTypedFunctionExpressions
(#β7553) (be2777c) - eslint-plugin: [no-unnecessary-qualifier] handle nested namespace id (#β7883) (a668f5b)
Features
- add
no-unsafe-unary-minus
rule (#β7390) (c4709c2) - add types for flat config files (#β7273) (66cd0c0)
- allow [email protected] as devDependency (#β7821) (b6c40b4)
- eslint-plugin: no-unsafe-enum-comparison handles switch cases (#β7898) (72cb9e4)
-
utils: add ESLint
CodePath
selector types (#β7551) (99a026f)
You can read about our versioning strategy and releases on our website.
v6.10.0
Bug Fixes
- eslint-plugin: [no-unused-vars] handle logical assignment (#β7854) (11e57c5)
- eslint-plugin: [require-await] add support for "await using" (#β7866) (855abea)
Features
You can read about our versioning strategy and releases on our website.
6.9.1 (2023-10-30)
Bug Fixes
- eslint-plugin: [naming-convention] allow PascalCase for imports (#β7841) (7ad86ee)
- eslint-plugin: [no-unused-expressions] handle TSInstantiationExpression expression (#β7831) (31988e0)
You can read about our versioning strategy and releases on our website.
v6.9.1
Bug Fixes
- eslint-plugin: [naming-convention] allow PascalCase for imports (#β7841) (7ad86ee)
- eslint-plugin: [no-unused-expressions] handle TSInstantiationExpression expression (#β7831) (31988e0)
You can read about our versioning strategy and releases on our website.
v6.9.0
Bug Fixes
- eslint-plugin: [no-confusing-void-expression] handle unfixable cases (#β7674) (7e52f27)
- eslint-plugin: [no-unsafe-return] allow returning anything if explicitly returning any (#β7708) (c6124b2)
Features
-
eslint-plugin: [max-params] don't count
this: void
parameter (#β7696) (6398d3f), closes #β7538 - eslint-plugin: [naming-convention] add support for default and namespace imports (#β7269) (bb15aae)
- eslint-plugin: [no-restricted-imports] support import = require (#β7709) (4c8edcf)
- eslint-plugin: [no-unsafe-enum-comparison] add switch suggestion (#β7691) (53d5263), closes #β7643
- eslint-plugin: [prefer-readonly] private fields support (#β7686) (0e875bf)
You can read about our versioning strategy and releases on our website.
v6.8.0
Bug Fixes
- eslint-plugin: [consistent-type-imports] import assertion checks added (#β7722) (afdae37)
- eslint-plugin: [no-shadow] fix static class generics for class expressions (#β7724) (e5ea1d0)
- eslint-plugin: [no-unsafe-member-access] report on only the accessed property (#β7717) (f81a2da)
- eslint-plugin: [no-useless-empty-export] exempt .d.ts (#β7718) (ac397f1)
Features
You can read about our versioning strategy and releases on our website.
6.7.5 (2023-10-09)
Bug Fixes
- eslint-plugin: [prefer-string-starts-ends-with] only report slice/substring with correct range (#β7712) (db40a0a)
You can read about our versioning strategy and releases on our website.
6.7.4 (2023-10-02)
Note: Version bump only for package @βtypescript-eslint/eslint-plugin
You can read about our versioning strategy and releases on our website.
6.7.3 (2023-09-25)
Note: Version bump only for package @βtypescript-eslint/eslint-plugin
You can read about our versioning strategy and releases on our website.
6.7.2 (2023-09-18)
Note: Version bump only for package @βtypescript-eslint/eslint-plugin
You can read about our versioning strategy and releases on our website.
6.7.1 (2023-09-18)
Note: Version bump only for package @βtypescript-eslint/eslint-plugin
You can read about our versioning strategy and releases on our website.
v6.7.5
Bug Fixes
- eslint-plugin: [prefer-string-starts-ends-with] only report slice/substring with correct range (#β7712) (db40a0a)
You can read about our versioning strategy and releases on our website.
v6.7.4
Note: Version bump only for package @βtypescript-eslint/eslint-plugin
You can read about our versioning strategy and releases on our website.
v6.7.3
Note: Version bump only for package @βtypescript-eslint/eslint-plugin
You can read about our versioning strategy and releases on our website.
v6.7.2
Note: Version bump only for package @βtypescript-eslint/eslint-plugin
You can read about our versioning strategy and releases on our website.
v6.7.0
Bug Fixes
- eslint-plugin: [no-restricted-imports] disallow side effect imports when allowTypeImports is enabled (#β7560) (4908905)
Features
You can read about our versioning strategy and releases on our website.
v6.6.0
Bug Fixes
You can read about our versioning strategy and releases on our website.
v6.5.0
Bug Fixes
- eslint-plugin: [consistent-type-assertions] wrap object return value with parentheses (#β6885) (23ac499)
You can read about our versioning strategy and releases on our website.
6.4.1 (2023-08-21)
Bug Fixes
- eslint-plugin: [no-unnecessary-condition] false positives with branded types (#β7466) (b52658f), closes #β7293
You can read about our versioning strategy and releases on our website.
v6.4.1
Bug Fixes
- eslint-plugin: [no-unnecessary-condition] false positives with branded types (#β7466) (b52658f), closes #β7293
You can read about our versioning strategy and releases on our website.
v6.4.0
Bug Fixes
- eslint-plugin: [non-nullable-type-assertion-style] consider operator precedence when fixing (#β7289) (bad37a2)
- eslint-plugin: [strict-boolean-expressions] replace dangerous fixer with suggestions (#β7394) (ad8401a)
You can read about our versioning strategy and releases on our website.
v6.3.0
Bug Fixes
- eslint-plugin: [no-extra-parens] keep parens around call expression arguments when type arguments contain parens (#β7375) (38e5e4e)
-
eslint-plugin: [no-restricted-imports] allow inline type qualifiers when
allowTypeImports
enabled (#β7379) (cc9a46d)
Features
-
eslint-plugin: [prefer-nullish-coalescing] allow
ignorePrimitives
option to betrue
(#β7331) (dfcafae)
Reverts
You can read about our versioning strategy and releases on our website.
6.2.1 (2023-07-31)
Bug Fixes
- eslint-plugin: [no-inferrable-types] apply also for parameter properties (#β7288) (67f93b1)
- scope-manager: correct decorators(.length) check in ClassVisitor for methods (#β7334) (abbb6c2)
You can read about our versioning strategy and releases on our website.
v6.2.1
Bug Fixes
- eslint-plugin: [no-inferrable-types] apply also for parameter properties (#β7288) (67f93b1)
- scope-manager: correct decorators(.length) check in ClassVisitor for methods (#β7334) (abbb6c2)
You can read about our versioning strategy and releases on our website.
v6.2.0
Bug Fixes
- eslint-plugin: [member-ordering] account for repeated names (#β6864) (d207b59)
- eslint-plugin: [no-unsafe-enum-comparison] exempt bit shift operators (#β7074) (b3e0e75)
- eslint-plugin: [prefer-nullish-coalescing] handle case when type of left side is null or undefined (#β7225) (b62affe)
- eslint-plugin: use a default export for the rules type (#β7266) (af77a1d)
Features
- eslint-plugin: [class-methods-use-this] add extension rule (#β6457) (18ea3b1)
- eslint-plugin: sync getFunctionHeadLoc implementation with upstream (#β7260) (f813147)
You can read about our versioning strategy and releases on our website.
v6.1.0
Bug Fixes
- eslint-plugin: [comma-dangle] fixed crash from undefined predicate.ignore (#β7223) (d368164)
- eslint-plugin: [no-floating-promises] false negative calling .then with second argument undefined (#β6881) (606a52c), closes #β6850
- eslint-plugin: [no-floating-promises] finally should be transparent to unhandled promises (#β7092) (2a4421c)
- eslint-plugin: [no-unnecessary-type-constraint] correctly fix in cts/mts files (#β6795) (1404796)
- eslint-plugin: [no-unused-vars] check if any variable definition is exported (#β6873) (587ac30), closes #β6188
- eslint-plugin: fix schemas across several rules and add schema tests (#β6947) (dd31bed)
- eslint-plugin: include the rules types in the package (#β7215) (a3da11d)
Features
- typescript-estree: add EXPERIMENTAL_useProjectService option to use TypeScript project service (#β6754) (6d3d162)
You can read about our versioning strategy and releases on our website.
v6.0.0
Bug Fixes
- bumped ts-api-utils to 0.0.39 (#β6497) (217c710)
- correct handling of additionalProperties in object schemas (#β6939) (489c7a5)
- correct lint error after merge (277fdb5)
- eslint-plugin: [explicit-module-boundary-types] remove shouldTrackReferences option from schema (#β5399) (6d32734)
- eslint-plugin: allow parser@^6.0.0 (#β6630) (92908bd)
- eslint-plugin: remove valid-typeof disable in eslint-recommended (#β5381) (b82df5e)
- fix illegal decorator check (#β6723) (c456f8c)
- rename typeParameters to typeArguments where needed (#β5384) (08d757b)
- replace tsutils with ts-api-tools (#β6428) (79327b4)
- type-utils: treat intrinsic types as if they are from lib and never match error types (#β6869) (ecb57de)
- typescript-estree: account for namespace nesting in AST conversion (#β6272) (09e3877)
- update
exports
field in package.json files (#β6550) (53776c2)
chore
Features
- add new package
rule-tester
(#β6777) (2ce1c1d) - add package.json exports for public packages (#β6458) (d676683)
- bump minimum supported TS version to 4.2.4 (#β5915) (a8e71d5)
- bump ts-api-utils to v0.0.21 (#β6459) (3915661)
- bump ts-api-utils to v0.0.22 (#β6472) (b88cd23)
- drop support for ESLint v6 (#β5972) (bda806d)
- drop support for node v12 (#β5918) (7e3fe9a)
- drop support for node v14 and test against node v20 (#β7022) (e6235bf)
- eslint-plugin: [prefer-nullish-coalescing]: add support for assignment expressions (#β5234) (4bdbe67)
- eslint-plugin: [prefer-optional-chain] handle cases where the first operands are unrelated to the rest of the chain and add type info (#β6397) (02a37c4)
- eslint-plugin: [prefer-readonly-parameter-types] added an optional type allowlist (#β4436) (c9427b7)
- eslint-plugin: [restrict-plus-operands] change checkCompoundAssignments to skipCompoundAssignments (#β7027) (dc801d8)
- eslint-plugin: add config that disables type-aware linting (#β6470) (3b063cf)
- eslint-plugin: apply final v6 changes to configs (#β7110) (c13ce0b)
- eslint-plugin: deprecate no-type-alias (#β6229) (820bdf2)
- eslint-plugin: final final config changes for v6 (#β7157) (e35c5c1)
- eslint-plugin: rework configs: recommended, strict, stylistic; -type-checked (#β5251) (5346b5b), closes #β5036 #β5834 #β5882 #β5864 #β3076 #β5834 #β5882 #β5864 #β5889 #β5834 #β5882 #β5864 #β5883 #β4863 #β5381 #β5256 #β5399
- fork json schema types for better compat with ESLint rule validation (#β6963) (a4967f2)
- improve rule schemas, add test to validate schemas, add tooling to generate schema types (#β6899) (acc1a43)
- made BaseNode.parent non-optional (#β5252) (a4768f3), closes #β5036 #β5834 #β5882 #β5864 #β3076 #β5834 #β5882 #β5864 #β5889 #β5834 #β5882 #β5864 #β5883 #β4863 #β5381 [#β5256](https://togithub.com/typescript-eslint/type
Configuration
π Schedule: Branch creation - "before 3am on Monday" (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.
- [ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate using a curated preset maintained by
The latest updates on your projects. Learn more about Vercel for Git βοΈ
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
groqz-docs | β Ready (Inspect) | Visit Preview | π¬ Add feedback | Sep 29, 2023 10:58am |
β οΈ No Changeset found
Latest commit: b0d515160752fd4489173b4e75e91b518c20be10
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
This PR includes no changesets
When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR