mirror of
https://github.com/Sped0n/bridget.git
synced 2026-04-14 10:09:31 -07:00
The Prettier configuration file (.prettierrc.json) has been updated with the following changes: - `useTabs` is set to `false` to use spaces for indentation - `tabWidth` is set to `2` to specify the number of spaces for each indentation level - `printWidth` is set to `88` to limit the line length to 88 characters - `singleQuote` is set to `true` to use single quotes for strings - `trailingComma` is set to `none` to remove trailing commas in arrays and objects - `bracketSpacing` is set to `true` to add spaces inside brackets - `semi` is set to `false` to remove semicolons at the end of statements - `plugins` is added to include the "prettier-plugin-go-template" plugin for go-template files - `overrides` is added to specify the parser as "go-template" for files with the ".html" extension
19 lines
319 B
JSON
19 lines
319 B
JSON
{
|
|
"useTabs": false,
|
|
"tabWidth": 2,
|
|
"printWidth": 88,
|
|
"singleQuote": true,
|
|
"trailingComma": "none",
|
|
"bracketSpacing": true,
|
|
"semi": false,
|
|
"plugins": ["prettier-plugin-go-template"],
|
|
"overrides": [
|
|
{
|
|
"files": ["*.html"],
|
|
"options": {
|
|
"parser": "go-template"
|
|
}
|
|
}
|
|
]
|
|
}
|