From dfa77e7d696e5bb7317f466fa08a8c57b994ced3 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Mon, 20 May 2024 18:29:35 +0300 Subject: [PATCH] add prettier --- .gitattributes | 3 +++ .gitignore | 5 ++++ .prettierignore | 0 .prettierrc | 0 package.json | 7 +++++ pnpm-lock.yaml | 70 +++++++++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 85 insertions(+) create mode 100644 .prettierignore create mode 100644 .prettierrc create mode 100644 package.json create mode 100644 pnpm-lock.yaml diff --git a/.gitattributes b/.gitattributes index 5534c6b3..1c070579 100644 --- a/.gitattributes +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore index 577182ac..0c52811d 100644 --- a/.gitignore +++ b/.gitignore @@ -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/ diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 00000000..e69de29b diff --git a/.prettierrc b/.prettierrc new file mode 100644 index 00000000..e69de29b diff --git a/package.json b/package.json new file mode 100644 index 00000000..19be9ad9 --- /dev/null +++ b/package.json @@ -0,0 +1,7 @@ +{ + "devDependencies": { + "prettier": "3.2.5", + "prettier-plugin-nginx": "1.0.3", + "prettier-plugin-toml": "2.0.1" + } +} diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml new file mode 100644 index 00000000..72f3b387 --- /dev/null +++ b/pnpm-lock.yaml @@ -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: {}