0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-27 15:56:30 +01:00
wagtail/prettier.config.js

18 lines
378 B
JavaScript

/**
* @see https://prettier.io/docs/en/options.html
*/
module.exports = {
arrowParens: 'always',
bracketSameLine: false,
bracketSpacing: true,
embeddedLanguageFormatting: 'auto',
endOfLine: 'lf',
htmlWhitespaceSensitivity: 'css',
jsxSingleQuote: false,
printWidth: 80,
proseWrap: 'preserve',
quoteProps: 'consistent',
semi: true,
singleQuote: true,
};