Skip to content

Component error with types from *.d.ts files. #7483

Discussion options

You must be logged in to vote

This error is in the second line of .eslintrc.cjs of fresh installed VueJS:

I just created a fresh project and don't get an error. again, I don't see why TS should check the JS file and complain about missing types. It does not do that for me. Seems to be a setting with your VSCode.

Then we have strange situation with freshly installed VueJS project. It is written without semicolons. But there is no appropriate rule in prettier config. Each component warns that there is no ';'

Indeed. Guess I never noticed because I always copy my own settings into any new projects right away. Will talk with soda about this.

For now, do one simple npm run lint to fix all of these initially.

PHPStorm …

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
3 replies
@RollingTL
Comment options

@LinusBorg
Comment options

@RollingTL
Comment options

Comment options

You must be logged in to vote
2 replies
@RollingTL
Comment options

@LinusBorg
Comment options

Answer selected by RollingTL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants