Definition for rule '@typescript-eslint/**' was not found
npm run lint执行eslint检查时,报:
- Definition for rule '@typescript-eslint/no-empty-interface' was not found
错误。
通常是因为未安装依赖包或者使用的是过时的依赖包:@typescript-eslint/eslint-plugin
可以通过npm ls @typescript-eslint/eslint-plugin
找出正在使用的版本,并尝试将它更新为最新版本。