From c27697d7baed15219a44ec78577d513896c4ac22 Mon Sep 17 00:00:00 2001 From: iamkun Date: Mon, 11 Feb 2019 17:21:49 +0800 Subject: [PATCH] chore: update prettier setting --- package.json | 2 +- prettier.config.js | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 3ae00c28..5b3da884 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "test": "TZ=Pacific/Auckland npm run test-tz && TZ=Europe/London npm run test-tz && npm run test-tz && jest", "test-tz": "jest test/timezone.test --coverage=false", "lint": "./node_modules/.bin/eslint src/* test/* build/*", - "prettier": "prettier --write \"{src,test,build,docs}/**/*.{js,ts,md}\"", + "prettier": "prettier --write \"docs/**/*.md\"", "babel": "cross-env BABEL_ENV=build babel src --out-dir esm --copy-files", "build": "cross-env BABEL_ENV=build node build && npm run size", "sauce": "npx karma start karma.sauce.conf.js", diff --git a/prettier.config.js b/prettier.config.js index 5d95626d..8ed85bac 100644 --- a/prettier.config.js +++ b/prettier.config.js @@ -1,9 +1,7 @@ module.exports = { useTabs: false, printWidth: 80, - tabWidth: 2, singleQuote: true, trailingComma: 'none', - semi: false, - arrowParens: 'avoid' + semi: false }