ptt-client
ptt-client copied to clipboard
migrate deprecated tslint to typescript-eslint
- 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
- use
- 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
- add script to
- style: 💄 eslint auto fix
- run eslint with
--fix
flag
- run eslint with
- 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