@swingby-protocol/prettier-config
v1.0.2
Published
Prettier config for Swingby's projects
Downloads
1
Keywords
Readme
A common Prettier config used in Swingby's projects.
Quick start
Install Prettier and this package.
yarn add --dev prettier @swingby-protocol/prettier-config
Add the follow config file at the root of your project.
// prettier.config.js module.exports = require('@swingby-protocol/prettier-config');
(Optional) Add the following config for EditorConfig.
# .editorconfig root = true [*] indent_style = space indent_size = 2 end_of_line = lf charset = utf-8 trim_trailing_whitespace = true insert_final_newline = true [*.md] trim_trailing_whitespace = false