@wqlearning/prettier-config
v1.1.3
Published
Shared Prettier configuration for WorldQuant Learning projects.
Downloads
465
Readme
@wqlearning/prettier-config
Shared Prettier configuration for WorldQuant Learning projects.
Installation
npm install --save-dev @wqlearning/prettier-configUsage
Add this to your package.json:
{
"prettier": "@wqlearning/prettier-config"
}Or if you need to extend the configuration, create a .prettierrc.js file:
import prettierConfig from '@wqlearning/prettier-config';
export default {
...prettierConfig,
// Your overrides here
};Configuration
This configuration includes:
- Single quotes
- Brackets on the same line
- Always wrap prose
- Special handling for JSON files using
json-stringifyparser
License
MIT
