electron/electron-quick-start-typescript

Replace TSLint with ESLint

serkonda7 opened this issue · 1 comments

Due to the fact, that TSLint was deprecated by the developer, it should be replaced with the better ESLint.

By the way, this is how to do it to your project:

npm remove tslint
npm install eslint --save-dev
rm tslint.json

Then edit package.json's script property at "lint" to eslint ./src/**/*.ts.

Initialize eslint config by calling npm run lint -- --init

And you're done, run npm run lint when you want to see its proverbs and npm run lint --fix to correct them.