From bfe7eb6ffc52ab213c329683e6c2217436621d05 Mon Sep 17 00:00:00 2001 From: Eric Cornelissen Date: Wed, 8 Dec 2021 12:43:25 +0100 Subject: [PATCH] Add prettier configuration file (#15) --- .prettierrc.js | 4 ++++ package.json | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 .prettierrc.js diff --git a/.prettierrc.js b/.prettierrc.js new file mode 100644 index 00000000..9166a044 --- /dev/null +++ b/.prettierrc.js @@ -0,0 +1,4 @@ +module.exports = { + trailingComma: 'all', + singleQuote: true, +}; diff --git a/package.json b/package.json index 4bac5940..0a5f260d 100644 --- a/package.json +++ b/package.json @@ -13,8 +13,8 @@ "scripts": { "prebuild": "rimraf icons/*", "build": "node scripts/build-pdfs.js", - "format": "prettier --write --single-quote .", - "lint": "prettier --check --single-quote ." + "format": "prettier --write .", + "lint": "prettier --check ." }, "author": "Simple Icons Collaborators", "license": "CC0-1.0",