add prettier

This commit is contained in:
Aminda Suomalainen 2024-05-20 18:29:35 +03:00
parent 0597b4f359
commit dfa77e7d69
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
6 changed files with 85 additions and 0 deletions

3
.gitattributes vendored
View File

@ -75,3 +75,6 @@ LICENSE text lockable
CITATION.cff text lockable
# NOTE! .gitattributes doesn't support the case-insensitive style above!
package.json text linguist-vendored
pnpm-lock.yaml text linguist-vendored

5
.gitignore vendored
View File

@ -12,6 +12,8 @@
!.mikaela
!.mikaela_install
!.pre-commit-config.yaml
!.prettierignore
!.prettierrc
!.reuse
# Certificates (unlikely to happen, but better safe than sorry)
@ -20,3 +22,6 @@
# Symlinks
install.run
LICENSE
node_modules/

0
.prettierignore Normal file
View File

0
.prettierrc Normal file
View File

7
package.json vendored Normal file
View File

@ -0,0 +1,7 @@
{
"devDependencies": {
"prettier": "3.2.5",
"prettier-plugin-nginx": "1.0.3",
"prettier-plugin-toml": "2.0.1"
}
}

70
pnpm-lock.yaml vendored Normal file
View File

@ -0,0 +1,70 @@
lockfileVersion: "9.0"
settings:
autoInstallPeers: true
excludeLinksFromLockfile: false
importers:
.:
devDependencies:
prettier:
specifier: 3.2.5
version: 3.2.5
prettier-plugin-nginx:
specifier: 1.0.3
version: 1.0.3
prettier-plugin-toml:
specifier: 2.0.1
version: 2.0.1(prettier@3.2.5)
packages:
"@taplo/core@0.1.1":
resolution:
{
integrity: sha512-BG/zLGf5wiNXGEVPvUAAX/4ilB3PwDUY2o0MV0y47mZbDZ9ad9UK/cIQsILat3bqbPJsALVbU6k3cskNZ3vAQg==,
}
"@taplo/lib@0.4.0-alpha.2":
resolution:
{
integrity: sha512-DV/Re3DPVY+BhBtLZ3dmP4mP6YMLSsgq9qGLXwOV38lvNF/fBlgvQswzlXmzCEefL/3q2eMoefZpOI/+GLuCNA==,
}
prettier-plugin-nginx@1.0.3:
resolution:
{
integrity: sha512-vV5q85s8XnV6NEgvz1gVLfZhmxAxY03MyOYj2ApBpjFkbs00lRsRkTmqO9L39ADuD18z1RRCcfZ3eVxKhI/nqg==,
}
prettier-plugin-toml@2.0.1:
resolution:
{
integrity: sha512-99z1YOkViECHtXQjGIigd3talI/ybUI1zB3yniAwUrlWBXupNXThB1hM6bwSMUEj2/+tomTlMtT98F5t4s8IWA==,
}
engines: { node: ">=16.0.0" }
peerDependencies:
prettier: ^3.0.3
prettier@3.2.5:
resolution:
{
integrity: sha512-3/GWa9aOC0YeD7LUfvOG2NiDyhOWRvt1k+rcKhOuYnMY24iiCphgneUfJDyFXd6rZCAnuLBv6UeAULtrhT/F4A==,
}
engines: { node: ">=14" }
hasBin: true
snapshots:
"@taplo/core@0.1.1": {}
"@taplo/lib@0.4.0-alpha.2":
dependencies:
"@taplo/core": 0.1.1
prettier-plugin-nginx@1.0.3: {}
prettier-plugin-toml@2.0.1(prettier@3.2.5):
dependencies:
"@taplo/lib": 0.4.0-alpha.2
prettier: 3.2.5
prettier@3.2.5: {}