From 40fbc4a691b39389857904fafa297c6c53891465 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristj=C3=A1n=20Oddsson?= Date: Wed, 25 Mar 2020 13:57:51 +0000 Subject: [PATCH] use prettier from npm package --- package-lock.json | 6 ++++++ package.json | 2 ++ prettier.config.js | 6 ------ 3 files changed, 8 insertions(+), 6 deletions(-) delete mode 100644 prettier.config.js diff --git a/package-lock.json b/package-lock.json index 5d81ec78..8991efc1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -30,6 +30,12 @@ "js-tokens": "^4.0.0" } }, + "@github/prettier-config": { + "version": "0.0.4", + "resolved": "https://registry.npmjs.org/@github/prettier-config/-/prettier-config-0.0.4.tgz", + "integrity": "sha512-ZOJ+U771Mw68qp2GPbcqPt2Xg0LEl0YwiIFHXwVLAFm2TgDnsgcCHhXO8PIxOWPqSFO4S7xIMD9CBobfaWGASA==", + "dev": true + }, "@types/color-name": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/@types/color-name/-/color-name-1.1.1.tgz", diff --git a/package.json b/package.json index 84407276..50b31970 100644 --- a/package.json +++ b/package.json @@ -35,6 +35,7 @@ "prettier": ">=1.12.0", "svg-element-attributes": ">=1.3.1" }, + "prettier": "@github/prettier-config", "peerDependencies": { "eslint": ">=4.19.0" }, @@ -44,6 +45,7 @@ "prettier.config.js" ], "devDependencies": { + "@github/prettier-config": "0.0.4", "eslint": ">=6.8.0", "mocha": ">=7.1.1" } diff --git a/prettier.config.js b/prettier.config.js deleted file mode 100644 index 9ef99788..00000000 --- a/prettier.config.js +++ /dev/null @@ -1,6 +0,0 @@ -module.exports = { - printWidth: 120, - semi: false, - singleQuote: true, - bracketSpacing: false -}