Repository URL to install this package:
|
Version:
3.6.0-rc.2-c44c3ce3093350 ▾
|
@doodle/frontend-config
/
prettier.js
|
|---|
/**
* This is the default Prettier configuration.
* Note: changes to this file affect all projects that depend on it.
*
* How to use:
* Create a .prettierrc.js file in your project and extend this configuration as
* shown in the following example.
*
* @example
* // File: web-my-frontend/.prettierrc.js
* const defaultPrettierConfig = require('@doodle/frontend-config/prettier');
*
* module.exports = {
* ...defaultPrettierConfig,
* // custom overrides
* printWidth: 119
* };
*
*/
module.exports = {
parser: 'babel',
printWidth: 120,
singleQuote: true,
trailingComma: 'es5',
};