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 #5252
- feat(experimental-utils): console.warn on import of experimental-utils by @kball in #6179
- chore(eslint-plugin): remove deprecated rules for v6 by @JoshuaKGoldberg in #6112
- feat: remove partial type-information program by @bradzacher in #6066
- chore(typescript-estree): remove unnecessary this.inTypeMode field by @bradzacher in #6375
- feat(eslint-plugin): deprecate no-type-alias by @JoshuaKGoldberg in #6229
- chore(typescript-estree): remove visitor-keys backwards compat export by @JoshuaKGoldberg in #6242
- fix(typescript-estree): wrap import = declaration in an export node by @JoshuaKGoldberg in #5885
- feat(typescript-estree): add type checker wrapper APIs to ParserServicesWithTypeInformation by @JoshuaKGoldberg in #6404
- fix: replace tsutils with ts-api-tools by @JoshuaKGoldberg in #6428
- feat: bump ts-api-utils to v0.0.21 by @bradzacher in #6459
- feat(eslint-plugin): rework configs: recommended, strict, stylistic; -type-checked by @JoshuaKGoldberg in #5251
- feat: remove
experimental-utils
by @bradzacher in #6468 - fix(ast-spec): remove more invalid properties by @JoshuaKGoldberg in #6243
- feat(eslint-plugin): add config that disables type-aware linting by @bradzacher in #6470
- chore: update downlevel-dts config to target TS4.2 by @bradzacher in #6471
- feat: bump ts-api-utils to v0.0.22 by @bradzacher in #6472
- chore: cleanup repo lint + typechecking by @bradzacher in #6473
- test: allow to execute tests on windows by @armano2 in #6488
- fix(typescript-estree): account for namespace nesting in AST conversion by @JoshuaKGoldberg in #6272
- feat: add package.json exports for public packages by @bradzacher in #6458
- fix: bumped ts-api-utils to 0.0.39 by @JoshuaKGoldberg in #6497
- fix: rename typeParameters to typeArguments where needed by @JoshuaKGoldberg in #5384
- feat(typescript-estree): remove optionality from AST boolean properties by @JoshuaKGoldberg in #6274
- chore: remove no-longer-necessary ts-api-utils package patch by @JoshuaKGoldberg in #6526
- test(ast-spec): snapshot codeframe of error by @fisker in #6555
- feat(typescript-estree): added allowInvalidAST option to not throw on invalid tokens by @JoshuaKGoldberg in #6247
- fix: update
exports
field in package.json files by @fisker in #6550 - feat: improve error location by @fisker in #6556
- feat(typescript-estree): throw errors on interface with implements by @fisker in #6551
- feat(typescript-estree): strict class heritage clauses check by @fisker in #6576
- feat(typescript-estree): check for illegal decorators on function declarations by @fisker in #6590
- feat(typescript-estree): throw errors for object methods without function bodies by @fisker in #6589
- fix(typescript-estree): fix error handling on
ImportExpression
by @fisker in #6587 - feat: remove moduleResolver API by @bradzacher in #6609
- feat(typescript-estree): warn on deprecated AST property accesses by @JoshuaKGoldberg in #6525
- fix(eslint-plugin): allow parser@^6.0.0 by @JoshuaKGoldberg in #6630
- feat(typescript-estree): check modifiers on every node by @fisker in #6615
- feat(typescript-estree): throw errors when abstract property has initializer by @fisker in #6613
- chore: bump ts-api-utils to v0.0.44 by @bradzacher in #6659
- fix(typescript-estree): allow writing to deprecated node properties by @JoshuaKGoldberg in #6670
- feat(eslint-plugin): [prefer-readonly-parameter-types] added an optional type allowlist by @marekdedic in #4436
- fix(typescript-estree): forbid
override
on non-constructor function/methods by @fisker in #6729 - chore(website): migrate from lzstring.ts to lz-string package by @armano2 in #6727
- chore(website): [playground] regression fix for parsing comments by @armano2 in #6768
- chore(website): [playground] add tabs to ast viewer and update design by @armano2 in #6735
- chore(website): [playground] improve design of error viewer by @armano2 in #6738
- chore(website): [playground] update options selector by @armano2 in #6736
- chore(website): add stylelint and fix css issues by @armano2 in #6779
- chore(website): [playground] drop support for typescript v3 by @armano2 in #6775
- chore(website): update build script to use esbuild instead of rollup by @armano2 in #6716
- feat(typescript-estree): forbid members in Mapped Type by @fisker in #6802
- fix(type-utils): checking of type aliases' type names by
typeMatchesSpecifier
by @RebeccaStevens in #6820 - chore(website): [playground] add copy as json and simplify ast viewer by @armano2 in #6728
- chore(website): [playground] allow to choose file extensions by @armano2 in #6785
- chore(website): [playground] add support for extends in eslint config by @armano2 in #6796
- chore(website): add stylelint job in ci by @juank1809 in #6800
- chore(website): [playground] inline visual editor instead of showing modal by @armano2 in #6813
- chore: correct v6 stylelint action error by @armano2 in #6837
- chore(website): add documentation comments to various functions by @armano2 in #6840
- chore(website): [playground] use languageService for linting code by @armano2 in #6806
- chore: simplify
getLocFor
by @fisker in #6733 - chore(website): validate rule options in editor by @armano2 in #6907
- chore(website): [playground] option to disable scroll and display tokens by @armano2 in #6863
- chore: bump minimum TS to 4.3.5 by @bradzacher in #6923
- fix(type-utils): fixed TypeOrValueSpecifier not accounting for scoped DT packages by @marekdedic in #6780
- chore: update ts-api-utils to v46 by @bradzacher in #6925
- chore(website): improve error handling by @armano2 in #6929
- chore: remove duplicated and unused dependencies by @armano2 in #6930
- feat: improve rule schemas, add test to validate schemas, add tooling to generate schema types by @bradzacher in #6899
- fix: correct handling of additionalProperties in object schemas by @bradzacher in #6939
- chore(website): correct issue with rule schema defs by @armano2 in #6942
- chore(eslint-plugin): correct invalid documentations by @armano2 in #6937
- feat: add new package
rule-tester
by @bradzacher in #6777 - feat: remove
RuleTester
in/utils
in favour of the new/rule-tester
package by @bradzacher in #6816 - chore: bump deps by @bradzacher in #6962
- feat: drop support for node v14 and test against node v20 by @bradzacher in #7022
- feat(eslint-plugin): [restrict-plus-operands] change checkCompoundAssignments to skipCompoundAssignments by @JoshuaKGoldberg in #7027
- fix(type-utils): file variant of TypeOrValueSpecifier uses canonical filenames instead of lowercasing by @marekdedic in #6781
- fix: fix illegal decorator check by @fisker in #6723
- feat: fork json schema types for better compat with ESLint rule validation by @bradzacher in #6963
- feat(eslint-plugin): apply final v6 changes to configs by @JoshuaKGoldberg in #7110
- docs: fix broken links v6 docs by @takanome-dev in #7082
- feat(typescript-estree): remove parseWithNodeMaps by @JoshuaKGoldberg in #7120
- chore: enable sort-type-constituents internally by @JoshuaKGoldberg in #7028
- chore: enabled stylistic-type-checked internally by @JoshuaKGoldberg in #7138
- feat(eslint-plugin): final final config changes for v6 by @JoshuaKGoldberg in #7157
- feat(eslint-plugin): [prefer-optional-chain] handle cases where the first operands are unrelated to the rest of the chain and add type info by @bradzacher in #6397
- fix(type-utils): treat intrinsic types as if they are from lib and never match error types by @RebeccaStevens in #6869
- chore: v6.0.0 by @JoshuaKGoldberg in #5886
New Contributors
- @kball made their first contribution in #6179
- @marekdedic made their first contribution in #4436
Full Changelog: v5.62.0...v6.0.0