Skip to content

Commit

Permalink
Update prettier config option name (facebook#1722)
Browse files Browse the repository at this point in the history
  • Loading branch information
fantactuka authored Apr 14, 2022
1 parent ab0168d commit 717c2d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .prettierrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
module.exports = {
bracketSpacing: false,
singleQuote: true,
jsxBracketSameLine: true,
bracketSameLine: true,
printWidth: 80,
trailingComma: 'all',
htmlWhitespaceSensitivity: 'ignore',
Expand Down
1 change: 1 addition & 0 deletions packages/lexical-playground/__tests__/utils/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -486,6 +486,7 @@ export function prettifyHTML(string, {ignoreClasses, ignoreInlineStyles} = {}) {
.format(output, {
attributeGroups: ['$DEFAULT', '^data-'],
attributeSort: 'ASC',
bracketSameLine: true,
htmlWhitespaceSensitivity: 'ignore',
parser: 'html',
})
Expand Down

0 comments on commit 717c2d2

Please sign in to comment.