Skip to content
On this page

Customizing

Code formatting

The Feathers CLI uses Prettier for code formatting and generates a configuration for it in a new application. To change the options, like the use of semicolons, quotes etc, edit the .prettierrc file with the options available. To update all existing source files with the new code style run

npm run prettier
npm run prettier

Any new files generated will use current Prettier configuration. See the Prettier Integration with Linters documentation for how to integrate with tools like ESLint.

Released under the MIT License.