You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NOTE: This is part of a series of issues I'm creating to keep track of the work I've done, and that will be submitted, across multiple PRs
After cloning the repository and running yarn eslint won't work as expected. Using it from VSCode will result in multiple "syntax errors" and other errors that are not wrong at all.
Examples of "bad" syntax errors:
All these problems are caused by a .eslintrc file that needs to be updated to:
Use the recommended typescript rules
Use the right parser for Typescript files.
Additionally when invoking it from the cli using yarn lint will result in the following error:
Oops! Something went wrong! :(
ESLint: 5.16.0.
No files matching the pattern "src" were found.
Please check for typing mistakes in the pattern.
Which is caused again by a bad parser configuration in .eslintrc.
The ESLint configuration needs to be updated to fix the above problems.
Additionally, to better integrate with VSCode I think that the configuration about semicolon should be changed to "always". This will solve some syntax highlighting problems (and also I personally prefer the semicolon to be there 😁 )
Example of bad syntax highlighting without semicolon:
Same snippet with semicolon:
The text was updated successfully, but these errors were encountered:
NOTE: This is part of a series of issues I'm creating to keep track of the work I've done, and that will be submitted, across multiple PRs
After cloning the repository and running
yarn
eslint won't work as expected. Using it from VSCode will result in multiple "syntax errors" and other errors that are not wrong at all.Examples of "bad" syntax errors:


All these problems are caused by a
.eslintrc
file that needs to be updated to:Additionally when invoking it from the cli using
yarn lint
will result in the following error:Which is caused again by a bad parser configuration in
.eslintrc
.The ESLint configuration needs to be updated to fix the above problems.
Additionally, to better integrate with VSCode I think that the configuration about semicolon should be changed to "always". This will solve some syntax highlighting problems (and also I personally prefer the semicolon to be there 😁 )

Example of bad syntax highlighting without semicolon:
Same snippet with semicolon:

The text was updated successfully, but these errors were encountered: