mirror of
https://github.com/wagtail/wagtail.git
synced 2024-11-24 19:17:48 +01:00
11ccf30f00
- Install Prettier - Add Prettier configuration - Add git-blame-ignore-revs - Clean up .editorconfig indent_style definition - Clean up .editorconfig space definitions - Add documentation for Prettier - Add missing Prettier run-scripts - Disable Prettier formatting in CI for now
19 lines
402 B
JavaScript
19 lines
402 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,
|
|
trailingComma: 'all',
|
|
};
|