dvdvdmt / popup-tab-switcher

A browser extension that makes switching between tabs more convenient
85 stars 5 forks source link

Change code style of the project and make code style errors less annoying #53

Closed dvdvdmt closed 2 years ago

dvdvdmt commented 2 years ago

The current code style has several drawbacks:

  1. It is too strict and verbose. The semicolon at the end of each line can be safely removed because the build process will add it. Also Prettier will control problematic places where ASI can produce errors. The semicolon at the end of an interface members can be safely omitted.
  2. Now each code edit produce format errors because Prettier is integrated in ESLint. We can postpone code formatting with Prettier and put it to pre-commit hook.