ptt-client icon indicating copy to clipboard operation
ptt-client copied to clipboard

migrate deprecated tslint to typescript-eslint

Open jubeatwww opened this issue 5 years ago • 0 comments

  • chore: 🤖 Change config file with tslint-to-eslint-config npx
    • use npx tslint-to-eslint-config --tslint .tslint.json to generate .eslintrc.js automatically
    • add required plugins for @typescript-eslint
  • chore: 🤖 add ESLint recommended rules and airbnb base
    • add rules that recommended by ESLint teams by adding extensions
    • add airbnb config base extension
  • chore: 🤖 add linting script
    • add script to package.json to run eslint
  • style: 💄 eslint auto fix
    • run eslint with --fix flag
  • style: 💄 fix some linting that won't change logic
    • remove rules that are not needed
    • ignore some rules that are not that important for now
    • fix some feature without changing original code logic

jubeatwww avatar Nov 08 '19 09:11 jubeatwww