Compare commits

...

3 Commits

5 changed files with 47 additions and 28 deletions

2
.gitignore vendored
View File

@ -14,7 +14,7 @@
!.nvmrc
!.pre-commit-config.yaml
!.prettierignore
!.prettierrc
!.prettierrc.json
!.renovate-shared.json*
!.reuse

View File

@ -1,23 +0,0 @@
{
"insertPragma": true,
"proseWrap": "always",
"singleAttributePerLine": true,
"plugins": [
"@prettier/plugin-ruby",
"@prettier/plugin-xml",
"prettier-plugin-nginx",
"prettier-plugin-sh",
"prettier-plugin-toml"
],
"overrides": [
{ "files": ".prettierrc", "options": { "parser": "json" } },
{
"files": "conf/librewolf.overrides.cfg",
"options": { "parser": "babel" }
},
{
"files": "conf/autoconfig.js.online",
"options": { "parser": "babel" }
}
]
}

36
.prettierrc.json Normal file
View File

@ -0,0 +1,36 @@
{
"bracketSameLine": true,
"endOfLine": "auto",
"insertPragma": true,
"overrides": [
{
"files": ".prettierrc",
"options": {
"parser": "json"
}
},
{
"files": "conf/librewolf.overrides.cfg",
"options": {
"parser": "babel"
}
},
{
"files": "conf/autoconfig.js.online",
"options": {
"parser": "babel"
}
}
],
"plugins": [
"@prettier/plugin-ruby",
"@prettier/plugin-xml",
"prettier-plugin-nginx",
"prettier-plugin-sh",
"prettier-plugin-toml"
],
"proseWrap": "always",
"quoteProps": "consistent",
"requirePragma": false,
"singleAttributePerLine": true
}

View File

@ -7,6 +7,14 @@
"enabled": true
},
"mode": "full",
"packageRules": [
{
"automerge": false,
"matchPackagePatterns": [
"*"
]
}
],
"pre-commit": {
"enabled": true
},

View File

@ -18,10 +18,8 @@
<!-- Folding Slots -->
<slot
id='0'
type='CPU'
/>
type='CPU' />
<slot
id='1'
type='GPU'
/>
type='GPU' />
</config>