ci(eslint): update @typescript-eslint from 3.10.1 to 4.22.0
We need to update @typescript-eslint from 3.10.1 to 4.22.0 as !189 (merged) upgraded TypeScript from 3.x to 4.x.
We need to make it off
in the two base rules: no-shadow
and no-use-before-define
to utilize @typescript-eslint/no-shadow
and @typescript-eslint/no-use-before-define
. Otherwise we will see the errors shown at https://gitlab.com/gitlab-org/gitlab-vscode-extension/-/jobs/1228622149
- https://github.com/typescript-eslint/typescript-eslint/blob/v4.22.0/packages/eslint-plugin/docs/rules/no-shadow.md
- https://github.com/typescript-eslint/typescript-eslint/blob/v4.22.0/packages/eslint-plugin/docs/rules/no-use-before-define.md
yarn lint
before this change
Logs from WARNING: You are currently running a version of TypeScript which is not officially supported by @typescript-eslint/typescript-estree.
You may find that it works just fine, or you may not.
SUPPORTED TYPESCRIPT VERSIONS: >=3.3.1 <4.1.0
YOUR TYPESCRIPT VERSION: 4.2.3
Please only submit bug reports when using the officially supported version.
Edited by Takuya Noguchi