@theholocron/prettier-config
v3.5.1
Published
A Prettier configuration for formatting libraries in the Galaxy.
Downloads
1,171
Readme
Prettier Config
A Prettier configuration for formatting libraries in the Galaxy.
Installation
npm install --save-dev @theholocron/prettier-config
Usage
In your project package.json
add the following:
{
"prettier": "@theholocron/prettier-config"
}
What Do We Format?
- 1 tab character over x number of spaces; don't come at me!
- Use semicolons at the end of statements; for clarity, readability