include everything in prettier for easier templating and sorting

This commit is contained in:
Aminda Suomalainen 2024-06-17 10:59:14 +03:00
parent e82d93b28c
commit df508e49d5
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
3 changed files with 19 additions and 2 deletions

View File

@ -1,9 +1,10 @@
{ {
"plugins": [ "plugins": [
"@prettier/plugin-ruby",
"@prettier/plugin-xml",
"prettier-plugin-nginx", "prettier-plugin-nginx",
"prettier-plugin-toml",
"prettier-plugin-sh", "prettier-plugin-sh",
"@prettier/plugin-xml" "prettier-plugin-toml"
], ],
"overrides": [ "overrides": [
{ "files": ".prettierrc", "options": { "parser": "json" } }, { "files": ".prettierrc", "options": { "parser": "json" } },

1
package.json vendored
View File

@ -1,5 +1,6 @@
{ {
"devDependencies": { "devDependencies": {
"@prettier/plugin-ruby": "4.0.4",
"@prettier/plugin-xml": "3.4.1", "@prettier/plugin-xml": "3.4.1",
"prettier": "3.3.2", "prettier": "3.3.2",
"prettier-plugin-nginx": "1.0.3", "prettier-plugin-nginx": "1.0.3",

15
pnpm-lock.yaml vendored
View File

@ -7,6 +7,9 @@ settings:
importers: importers:
.: .:
devDependencies: devDependencies:
"@prettier/plugin-ruby":
specifier: 4.0.4
version: 4.0.4(prettier@3.3.2)
"@prettier/plugin-xml": "@prettier/plugin-xml":
specifier: 3.4.1 specifier: 3.4.1
version: 3.4.1(prettier@3.3.2) version: 3.4.1(prettier@3.3.2)
@ -24,6 +27,14 @@ importers:
version: 2.0.1(prettier@3.3.2) version: 2.0.1(prettier@3.3.2)
packages: packages:
"@prettier/plugin-ruby@4.0.4":
resolution:
{
integrity: sha512-lCpvfS/dQU5WrwN3AQ5vR8qrvj2h5gE41X08NNzAAXvHdM4zwwGRcP2sHSxfu6n6No+ljWCVx95NvJPFTTjCTg==,
}
peerDependencies:
prettier: ^3.0.0
"@prettier/plugin-xml@3.4.1": "@prettier/plugin-xml@3.4.1":
resolution: resolution:
{ {
@ -114,6 +125,10 @@ packages:
} }
snapshots: snapshots:
"@prettier/plugin-ruby@4.0.4(prettier@3.3.2)":
dependencies:
prettier: 3.3.2
"@prettier/plugin-xml@3.4.1(prettier@3.3.2)": "@prettier/plugin-xml@3.4.1(prettier@3.3.2)":
dependencies: dependencies:
"@xml-tools/parser": 1.0.11 "@xml-tools/parser": 1.0.11