mirror of
https://github.com/nunocoracao/blowfish.git
synced 2026-01-30 16:31:52 +01:00
I couldn't find any reason why this plugin is in package.json but not in .prettierrc. Also no issues/PRs etc. Auto formatting with this hasn't been added or tested for accuracy yet (only for functionality), but I assume that if the plugin is in package.json, it should actually get used by prettier.
47 lines
911 B
Plaintext
47 lines
911 B
Plaintext
{
|
|
"singleQuote": false,
|
|
"tabWidth": 2,
|
|
"useTabs": false,
|
|
"semi": true,
|
|
"trailingComma": "all",
|
|
"proseWrap": "always",
|
|
"plugins": [
|
|
"@awmottaz/prettier-plugin-void-html",
|
|
"prettier-plugin-go-template",
|
|
"prettier-plugin-tailwindcss"
|
|
],
|
|
"overrides": [
|
|
{
|
|
"files": ["*.html"],
|
|
"options": {
|
|
"useTabs": false,
|
|
"parser": "go-template",
|
|
"goTemplateBracketSpacing": true,
|
|
"printWidth": 112,
|
|
"bracketSameLine": true
|
|
}
|
|
},
|
|
{
|
|
"files": ["*.js", "*.mjs", "*.mts", "*.ts"],
|
|
"options": {
|
|
"semi": true,
|
|
"useTabs": false,
|
|
"printWidth": 112,
|
|
"singleQuote": false
|
|
}
|
|
},
|
|
{
|
|
"files": ["*.yml", "*.yaml"],
|
|
"options": {
|
|
"singleQuote": false
|
|
}
|
|
},
|
|
{
|
|
"files": ["*.json*"],
|
|
"options": {
|
|
"trailingComma": "none"
|
|
}
|
|
}
|
|
]
|
|
}
|