I am trying to use ESLint to lint the typescript files in my React SPA Asp.net Core Project.
I found that VS uses its own ESLint and TS settings. It wouldn't care any of my local config files included .eslintrc or tsconfig.json in the root folder of React App.
For ESLint, I can enable ESlint there, but the global config file is not working.
For TS, I found some formatting in setting and typescript build in project properties.
The interesting part is, although I installed the latest Typescript for Visual Studio(4.3.2), ESNEXT is missing in ECMAScript Version. And therefore I got tons of errors:
I have read this post ESLint support Visual Studio 2017. It is quite old (2018) but it stated that the ESLintversion embedded in VS is old and VS won’t use my installed ESLint.
Then my question is, How to get rid of the all errors (which included I think produced by the wrong target version of ES version) and make ESLint run as good as VS can?
BTW, I am using 2019 v16 and 2017 >= v15.8.
Thank you so much for all attention. I have wasted many times on this issue.