Skip to content

Commit

Permalink
docs: rollback any part of the file that was incorrectly changed with…
Browse files Browse the repository at this point in the history
… trailingCommas.
  • Loading branch information
siosio34 committed Jun 5, 2024
1 parent 6b54873 commit d6d9654
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion crates/biome_cli/src/execute/migrate/prettier.rs
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ mod tests {
"semi": true,
"singleQuote": true,
"tabWidth": 2,
"trailingCommas": "es5",
"trailingComma": "es5",
"useTabs": true,
"jsxSingleQuote": true
}
Expand Down
2 changes: 1 addition & 1 deletion crates/biome_formatter_test/src/prettier/prepare_tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ if (process.argv.length < 3) {
}

const defaultConfig = {
trailingCommas: 'all',
trailingComma: 'all',
tabWidth: 2,
printWidth: 80,
singleQuote: false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ group(
options.tabWidth,
concat([line, join(concat([",", line]), printed)])
),
options.trailingCommas ? "," : "",
options.trailingComma ? "," : "",
line,
")"
]),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ group(
options.tabWidth,
concat([line, join(concat([",", line]), printed)]),
),
options.trailingCommas ? "," : "",
options.trailingComma ? "," : "",
line,
")",
]),
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"javascript": {
"formatter": {
"trailingCommas": "all"
"trailingComma": "all"
}
},
"overrides": [
{
"include": ["scripts/**"],
"javascript": {
"formatter": {
"trailingCommas": "es5"
"trailingComma": "es5"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"formatter": {
"enabled": true,
"indentSize": 2,
"trailingCommas": "all"
"trailingComma": "all"
}
}
}

0 comments on commit d6d9654

Please sign in to comment.