mirror of
https://github.com/facebook/lexical.git
synced 2025-05-17 15:18:47 +08:00
Update prettier config option name (#1722)
This commit is contained in:

committed by
GitHub

parent
ab0168d605
commit
717c2d26fe
@ -3,7 +3,7 @@
|
||||
module.exports = {
|
||||
bracketSpacing: false,
|
||||
singleQuote: true,
|
||||
jsxBracketSameLine: true,
|
||||
bracketSameLine: true,
|
||||
printWidth: 80,
|
||||
trailingComma: 'all',
|
||||
htmlWhitespaceSensitivity: 'ignore',
|
||||
|
@ -486,6 +486,7 @@ export function prettifyHTML(string, {ignoreClasses, ignoreInlineStyles} = {}) {
|
||||
.format(output, {
|
||||
attributeGroups: ['$DEFAULT', '^data-'],
|
||||
attributeSort: 'ASC',
|
||||
bracketSameLine: true,
|
||||
htmlWhitespaceSensitivity: 'ignore',
|
||||
parser: 'html',
|
||||
})
|
||||
|
Reference in New Issue
Block a user