@ahdcreative/prettier-config-ahd
v1.0.6
Published
Shareable Prettier Config for @AHDCreative
Readme
@ahdcreative/prettier-config-ahd
Shareable prettier config, following AHD Creative code style
Usage
Our default export contains all of our Stylelint rules, along with specific plugins for SCSS syntax.
- Run
npm install prettier @ahdceative/prettier-config-ahd --save-dev - Add
"extends": "@ahdcreative/prettier-config-ahd"to your.prettierrc
Install
- Required Node
- We recommend using nvm
- Clone the project on to your computer
- Run
nvm installto ensure you have the correct Node version - Run
npm installto install project dependencies - Ensure your editor is set up to use editorconfig, Prettier, Eslint and Stylelint
Development
- Run
nvm useto set Node to the correct version - Run tests via
npm run test - Run linting via
npm run lint - Run preflight checks before committing final code via
npm run preflight
