mirror of
https://github.com/wagtail/wagtail.git
synced 2024-11-24 10:58:52 +01:00
614defa6f9
- 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
18 lines
378 B
JavaScript
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,
|
|
};
|