@typescript-eslint/parser
8.72.1 · 26 Oct 2026MIT180.1M / weekRepositoryHomepagenpmAtom feed
Upgrading @typescript-eslint/parser from 1.13.0 to 2.0.0
1 release in betweenevery note read
- 7
- changes to make
- 0
- advisories fixed
- 16
- new
- 8
- fixes
Before you upgrade
Tick each one off as you go- breaking2.0.0
- breaking2.0.0
- breaking2.0.0
- breaking2.0.0
- breaking2.0.0
- breaking2.0.0
- breaking2.0.0
Release by release
- new
eslint-plugin: add
LiteraltoRuleListenertypes - new
utils: add ES2019 as valid
ecmaVersion - new
Explicitly support eslint v6
- new
eslint-plugin: [interface-name-prefix, class-name-casing] Add allowUnderscorePrefix option to support private declarations
- new
8 other lines we could not sort, mostly version bumps
- 2.0.0
When
projectis specified withinparserOptions, we will now hard fail when parsing files that are not included within the provided tsconfig(s). - 2.0.0
We discovered that this was a common performance pitfall, and could increase lint times by huge amounts.
- 2.0.0
Improve the
includesfield within your tsconfig(s) so that all the files you want to lint are included. - 2.0.0
Create a new
tsconfig.eslint.jsonwhich you pass intoparserOptions.project, which includes all of the files you want to lint, e.g.: - 2.0.0
explicit-function-return-type-allowTypedFunctionExpressionsandallowHigherOrderFunctionsare now bothtrueby default. - 2.0.0
no-inferrable-types-ignoreParametersandignorePropertiesare now bothfalseby default. - 2.0.0
no-this-alias-allowDestructuringis nowtrueby default. - 2.0.0
The intention is that you can use all the configs together, as they build upon one-another:
4 internal lines (docs, tests, tooling) left out.