luox-app / luox

Code base for the luox platform
https://luox.app/
GNU General Public License v3.0
15 stars 11 forks source link

Use Prettier to handle all code formatting #6

Closed mudge closed 4 years ago

mudge commented 4 years ago

Rather than having a custom ESLint configuration that runs only on the src directory, use Prettier to automatically enforce a consistent code style across the entire codebase including the tests and fixture data.

With this in place, we can relax ESLint's responsibility to non-style issues and cut its configuration down to a minimum.

We add this to the "test" step so that every CI run will check:

See https://prettier.io

mudge commented 4 years ago

Closing as this is now part of #8