0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-24 01:57:32 +01:00
wagtail/prettier.config.js
LB Johnston 614defa6f9 Update npm packages (linting/testing/formatting)
- Update various linting packages to align with their latest versions, including fixes.
- Update Prettier to version 3 & remove the need for trailingComma: all (this is now the default), adopt formatting changes
- Sync up Jest types with the Jest version used (missed in previous Jest upgrade) #10043 / #10598
2023-08-02 21:00:25 +10:00

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,
};