Categories
Development

Eslint not working with the TypeScript syntax

I am trying to configure eslint for my REACT-TypeScript project. It was previously using tslint which is going to deprecate soon. I have gone through the web and finally was able to create my .eslintrc.json: { “parser”: “@typescript-eslint/parser”, “parserOptions”: { “ecmaFeatures”: { “jsx”: true }, “project”: “./tsconfig.json”, “ecmaVersion”: 2018, “sourceType”: “module” }, “env”: { “browser”: […]