Dependencies: [skip ci] Bump @typescript-eslint/eslint-plugin from 5.59.5 to 6.0.0
Bumps @typescript-eslint/eslint-plugin from 5.59.5 to 6.0.0.
Release notes
Sourced from @typescript-eslint/eslint-plugin
's releases.
v6.0.0
See the announcement blog post for a friendly description of all changes and CHANGELOG.md for a full organized list of them.
🎉 What's Changed
- feat: made BaseNode.parent non-optional by
@JoshuaKGoldberg
in typescript-eslint/typescript-eslint#5252- feat(experimental-utils): console.warn on import of experimental-utils by
@kball
in typescript-eslint/typescript-eslint#6179- chore(eslint-plugin): remove deprecated rules for v6 by
@JoshuaKGoldberg
in typescript-eslint/typescript-eslint#6112- feat: remove partial type-information program by
@bradzacher
in typescript-eslint/typescript-eslint#6066- chore(typescript-estree): remove unnecessary this.inTypeMode field by
@bradzacher
in typescript-eslint/typescript-eslint#6375- feat(eslint-plugin): deprecate no-type-alias by
@JoshuaKGoldberg
in typescript-eslint/typescript-eslint#6229- chore(typescript-estree): remove visitor-keys backwards compat export by
@JoshuaKGoldberg
in typescript-eslint/typescript-eslint#6242- fix(typescript-estree): wrap import = declaration in an export node by
@JoshuaKGoldberg
in typescript-eslint/typescript-eslint#5885- feat(typescript-estree): add type checker wrapper APIs to ParserServicesWithTypeInformation by
@JoshuaKGoldberg
in typescript-eslint/typescript-eslint#6404- fix: replace tsutils with ts-api-tools by
@JoshuaKGoldberg
in typescript-eslint/typescript-eslint#6428- feat: bump ts-api-utils to v0.0.21 by
@bradzacher
in typescript-eslint/typescript-eslint#6459- feat(eslint-plugin): rework configs: recommended, strict, stylistic; -type-checked by
@JoshuaKGoldberg
in typescript-eslint/typescript-eslint#5251- feat: remove
experimental-utils
by@bradzacher
in typescript-eslint/typescript-eslint#6468- fix(ast-spec): remove more invalid properties by
@JoshuaKGoldberg
in typescript-eslint/typescript-eslint#6243- feat(eslint-plugin): add config that disables type-aware linting by
@bradzacher
in typescript-eslint/typescript-eslint#6470- chore: update downlevel-dts config to target TS4.2 by
@bradzacher
in typescript-eslint/typescript-eslint#6471- feat: bump ts-api-utils to v0.0.22 by
@bradzacher
in typescript-eslint/typescript-eslint#6472- chore: cleanup repo lint + typechecking by
@bradzacher
in typescript-eslint/typescript-eslint#6473- test: allow to execute tests on windows by
@armano2
in typescript-eslint/typescript-eslint#6488- fix(typescript-estree): account for namespace nesting in AST conversion by
@JoshuaKGoldberg
in typescript-eslint/typescript-eslint#6272- feat: add package.json exports for public packages by
@bradzacher
in typescript-eslint/typescript-eslint#6458- fix: bumped ts-api-utils to 0.0.39 by
@JoshuaKGoldberg
in typescript-eslint/typescript-eslint#6497- fix: rename typeParameters to typeArguments where needed by
@JoshuaKGoldberg
in typescript-eslint/typescript-eslint#5384- feat(typescript-estree): remove optionality from AST boolean properties by
@JoshuaKGoldberg
in typescript-eslint/typescript-eslint#6274- chore: remove no-longer-necessary ts-api-utils package patch by
@JoshuaKGoldberg
in typescript-eslint/typescript-eslint#6526- test(ast-spec): snapshot codeframe of error by
@fisker
in typescript-eslint/typescript-eslint#6555- feat(typescript-estree): added allowInvalidAST option to not throw on invalid tokens by
@JoshuaKGoldberg
in typescript-eslint/typescript-eslint#6247- fix: update
exports
field in package.json files by@fisker
in typescript-eslint/typescript-eslint#6550- feat: improve error location by
@fisker
in typescript-eslint/typescript-eslint#6556- feat(typescript-estree): throw errors on interface with implements by
@fisker
in typescript-eslint/typescript-eslint#6551- feat(typescript-estree): strict class heritage clauses check by
@fisker
in typescript-eslint/typescript-eslint#6576- feat(typescript-estree): check for illegal decorators on function declarations by
@fisker
in typescript-eslint/typescript-eslint#6590- feat(typescript-estree): throw errors for object methods without function bodies by
@fisker
in typescript-eslint/typescript-eslint#6589- fix(typescript-estree): fix error handling on
ImportExpression
by@fisker
in typescript-eslint/typescript-eslint#6587- feat: remove moduleResolver API by
@bradzacher
in typescript-eslint/typescript-eslint#6609- feat(typescript-estree): warn on deprecated AST property accesses by
@JoshuaKGoldberg
in typescript-eslint/typescript-eslint#6525- fix(eslint-plugin): allow parser@^6.0.0 by
@JoshuaKGoldberg
in typescript-eslint/typescript-eslint#6630- feat(typescript-estree): check modifiers on every node by
@fisker
in typescript-eslint/typescript-eslint#6615- feat(typescript-estree): throw errors when abstract property has initializer by
@fisker
in typescript-eslint/typescript-eslint#6613- chore: bump ts-api-utils to v0.0.44 by
@bradzacher
in typescript-eslint/typescript-eslint#6659- fix(typescript-estree): allow writing to deprecated node properties by
@JoshuaKGoldberg
in typescript-eslint/typescript-eslint#6670- feat(eslint-plugin): [prefer-readonly-parameter-types] added an optional type allowlist by
@marekdedic
in typescript-eslint/typescript-eslint#4436- fix(typescript-estree): forbid
override
on non-constructor function/methods by@fisker
in typescript-eslint/typescript-eslint#6729- chore(website): migrate from lzstring.ts to lz-string package by
@armano2
in typescript-eslint/typescript-eslint#6727- chore(website): [playground] regression fix for parsing comments by
@armano2
in typescript-eslint/typescript-eslint#6768- chore(website): [playground] add tabs to ast viewer and update design by
@armano2
in typescript-eslint/typescript-eslint#6735
... (truncated)
Changelog
Sourced from @typescript-eslint/eslint-plugin
's changelog.
6.0.0 (2023-07-10)
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 #5399
- remove
RuleTester
in/utils
in favour of the new/rule-tester
package (#6816) (c33f497)- remove partial type-information program (#6066) (7fc062a)
- typescript-estree: add type checker wrapper APIs to ParserServicesWithTypeInformation (#6404) (62d5755)
- typescript-estree: added allowInvalidAST option to not throw on invalid tokens (#6247) (a3b177d)
... (truncated)
Commits
-
6ae1fa7
chore: publish v6.0.0 -
3201f78
Fix prefer-nullish-coalescing too -
64958d3
Fix: yarn generate-configs -
980bda3
Merge branch 'main' (I swear this had better be the last one -
cba0d11
chore: publish v5.62.0 -
d2104ae
Reset prefer-nullish-coalescing.test.ts to main -
bccf851
Merge branch 'main' -
a8c824a
fix(eslint-plugin): replace auto-fix of class literal property style rule wit... -
4437d18
docs: be more explicit about what restrict-template-expressions restricts (#7... -
24bdacc
fix(eslint-plugin): [comma-spacing] allow no space after trailing comma in ob... - Additional commits viewable in compare view