use --project tsconfig.json
to suppress lint error
#2755
Labels
needs reproduction
This issue is missing a minimal runnable reproduction, provided by the author
Version
3.0.3
Node and OS info
Node v10.11.0 / npm 6.4.1 / ArchLinux
Steps to reproduce
In any vue-cli typescript project with any of this tslint rules ("await-promise", "no-unused-variable", "no-use-before-declare", "return-undefined", "no-floating-promise"...) :
npm run lint
What is expected?
Not shows any warning
What is actually happening?
Warning: The 'await-promise' rule requires type information.
Warning: The 'no-unused-variable' rule requires type information.
Warning: The 'no-use-before-declare' rule requires type information.
Warning: The 'return-undefined' rule requires type information.
Warning: The 'no-floating-promises' rule requires type information.
Warning: The 'no-unnecessary-qualifier' rule requires type information.
Warning: The 'no-unnecessary-type-assertion' rule requires type information.
Warning: The 'strict-type-predicates' rule requires type information.
alexjoverm/typescript-library-starter#227
The text was updated successfully, but these errors were encountered: