From 2c22c5a339fb02272592809dac0302272ff637ef Mon Sep 17 00:00:00 2001 From: Caleb Evans Date: Thu, 30 May 2024 13:53:15 -0700 Subject: [PATCH] Add Prettier to pipeline Even though it was already applying to every file on save in VS Code. --- .prettierrc.mjs | 4 ++++ package.json | 1 + pnpm-lock.yaml | 9 +++++++++ 3 files changed, 14 insertions(+) create mode 100644 .prettierrc.mjs diff --git a/.prettierrc.mjs b/.prettierrc.mjs new file mode 100644 index 0000000..1659c94 --- /dev/null +++ b/.prettierrc.mjs @@ -0,0 +1,4 @@ +export default { + singleQuote: false, + trailingComma: 'es5' +}; diff --git a/package.json b/package.json index b30ec14..0fe85be 100644 --- a/package.json +++ b/package.json @@ -39,6 +39,7 @@ "eslint-config-prettier": "^9.1.0", "glob": "^10.3.10", "jquery": "^3.7.1", + "prettier": "^3.2.5", "qunit": "^2.20.0", "rollup": "^4.17.2", "rollup-plugin-esbuild": "^6.1.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 8c8e7d8..f256205 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -32,6 +32,9 @@ devDependencies: jquery: specifier: ^3.7.1 version: 3.7.1 + prettier: + specifier: ^3.2.5 + version: 3.2.5 qunit: specifier: ^2.20.0 version: 2.20.0 @@ -1425,6 +1428,12 @@ packages: engines: {node: '>= 0.8.0'} dev: true + /prettier@3.2.5: + resolution: {integrity: sha512-3/GWa9aOC0YeD7LUfvOG2NiDyhOWRvt1k+rcKhOuYnMY24iiCphgneUfJDyFXd6rZCAnuLBv6UeAULtrhT/F4A==} + engines: {node: '>=14'} + hasBin: true + dev: true + /punycode@2.1.1: resolution: {integrity: sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==} engines: {node: '>=6'}