Tomekmularczyk / react-starter

Starter kit for react app
MIT License
8 stars 4 forks source link

add eslint #13

Closed fandok closed 4 years ago

fandok commented 4 years ago

Based on this https://github.com/Tomekmularczyk/react-starter/issues/12

How i did it:

  1. use https://github.com/typescript-eslint/tslint-to-eslint-config for migrating the config
  2. change the lint command to use eslint
  3. install missing dependencies
  4. update yarn.lock
  5. run yarn run lint for testing
  6. remove tslint.json and also tslint in package.json
  7. finish it

reference: https://code.visualstudio.com/api/advanced-topics/tslint-eslint-migration