Skip to content

use --project tsconfig.json to suppress lint error #2755

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
karlos1337 opened this issue Oct 16, 2018 · 2 comments
Closed

use --project tsconfig.json to suppress lint error #2755

karlos1337 opened this issue Oct 16, 2018 · 2 comments
Labels
needs reproduction This issue is missing a minimal runnable reproduction, provided by the author

Comments

@karlos1337
Copy link

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

@LinusBorg LinusBorg added the needs reproduction This issue is missing a minimal runnable reproduction, provided by the author label Oct 16, 2018
@LinusBorg
Copy link
Member

No reproduction provided.

@j0h
Copy link

j0h commented Apr 10, 2019

@LinusBorg I am able to replicate this error with the information in Steps to reproduce section. I think this is related to #2712 where a reproduction link is provided.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs reproduction This issue is missing a minimal runnable reproduction, provided by the author
Projects
None yet
Development

No branches or pull requests

3 participants