add prettier

This commit is contained in:
Aminda Suomalainen 2024-05-20 21:17:45 +03:00
parent b9a43cfb31
commit ee29dafbc2
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
5 changed files with 48 additions and 0 deletions

3
.gitattributes vendored
View File

@ -10,3 +10,6 @@
*.py diff=python *.py diff=python
*.rb diff=ruby *.rb diff=ruby
*.{scm,ss} diff=scheme *.{scm,ss} diff=scheme
*.json text
*.yaml text linguist-vendored

0
.prettierignore Normal file
View File

0
.prettierrc Normal file
View File

6
package.json Normal file
View File

@ -0,0 +1,6 @@
{
"devDependencies": {
"prettier": "3.2.5",
"@prettier/plugin-ruby": "4.0.4"
}
}

39
pnpm-lock.yaml vendored Normal file
View File

@ -0,0 +1,39 @@
lockfileVersion: "9.0"
settings:
autoInstallPeers: true
excludeLinksFromLockfile: false
importers:
.:
devDependencies:
"@prettier/plugin-ruby":
specifier: 4.0.4
version: 4.0.4(prettier@3.2.5)
prettier:
specifier: 3.2.5
version: 3.2.5
packages:
"@prettier/plugin-ruby@4.0.4":
resolution:
{
integrity: sha512-lCpvfS/dQU5WrwN3AQ5vR8qrvj2h5gE41X08NNzAAXvHdM4zwwGRcP2sHSxfu6n6No+ljWCVx95NvJPFTTjCTg==,
}
peerDependencies:
prettier: ^3.0.0
prettier@3.2.5:
resolution:
{
integrity: sha512-3/GWa9aOC0YeD7LUfvOG2NiDyhOWRvt1k+rcKhOuYnMY24iiCphgneUfJDyFXd6rZCAnuLBv6UeAULtrhT/F4A==,
}
engines: { node: ">=14" }
hasBin: true
snapshots:
"@prettier/plugin-ruby@4.0.4(prettier@3.2.5)":
dependencies:
prettier: 3.2.5
prettier@3.2.5: {}