Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
@doodle/frontend-config / prettier.js
Size: Mime:
/**
 * 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',
};