Skip to content

Commit

Permalink
fix: handle prettier formatting of certain json files
Browse files Browse the repository at this point in the history
This is a safety config for an issue introduced in prettier 3.2.2

See prettier/prettier#15956 (comment)
  • Loading branch information
SimeonC committed Jan 26, 2024
1 parent 5049551 commit a5ce78b
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions packages/prettier-config/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,17 @@
"options": {
"singleQuote": false
}
},
{
"files": [
"devcontainer.json",
"jsconfig.json",
"language-configuration.json",
"tsconfig.json"
],
"options": {
"parser": "json"
}
}
]
}

0 comments on commit a5ce78b

Please sign in to comment.