switch to global prettier config, pre-commit run

This commit is contained in:
Aminda Suomalainen 2024-08-04 10:04:47 +03:00
parent 35518f56e1
commit 13b60826ed
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
6 changed files with 13 additions and 22 deletions

View File

@ -8,7 +8,7 @@ charset = utf-8
indent_style = tab indent_style = tab
indent_size = tab indent_size = tab
[*.{yaml,yml,cff,json}] [*.{yaml,yml,cff}]
indent_style = space indent_style = space
indent_size = 2 indent_size = 2

View File

@ -1,5 +1,3 @@
# @format
# See https://pre-commit.com for more information # See https://pre-commit.com for more information
# See https://pre-commit.ci for more information # See https://pre-commit.ci for more information
ci: ci:

View File

@ -1,7 +0,0 @@
{
"insertPragma": true,
"proseWrap": "always",
"singleAttributePerLine": true,
"plugins": ["prettier-plugin-sh"],
"overrides": [{ "files": ".prettierrc", "options": { "parser": "json" } }]
}

View File

@ -1,7 +1,7 @@
{ {
"devDependencies": { "devDependencies": {
"prettier": "3.3.3", "@aminda/global-prettier-config": "2024.28.4"
"prettier-plugin-sh": "0.14.0"
}, },
"packageManager": "pnpm@9.5.0+sha512.140036830124618d624a2187b50d04289d5a087f326c9edfc0ccd733d76c4f52c3a313d4fc148794a2a9d81553016004e6742e8cf850670268a7387fc220c903" "packageManager": "pnpm@9.6.0+sha512.38dc6fba8dba35b39340b9700112c2fe1e12f10b17134715a4aa98ccf7bb035e76fd981cf0bb384dfa98f8d6af5481c2bef2f4266a24bfa20c34eb7147ce0b5e",
"prettier": "@aminda/global-prettier-config"
} }