Getting some linting issue
Fox333-Lab opened this issue · comments
I am working on creating a library but one of the js file is giving an linting issue(probably) and this just for the one specific file. I am new to linting and JS, please someone help,below is the screenshot for the same and also the project structure:
Thank you in advance
I had this problem, too.
First, I tried to solve it by going .editorconfig
and setting end_of_line
to crlf
(If you're using a windows machine).
It worked for all of the files except index.tsx
.
Finally, I decided to ignore the index.tsx
file by adding src/index.tsx
to .eslintignore
.
I hope that that would be helpful for you.
Hi @yosefbeder! editing the ".editorconfig" as you mentioned worked for me.....thank you very much for the suggestion, appreciate it a lot 👍
You're welcome