Skip to content

Commit c27697d

Browse files
committed
chore: update prettier setting
1 parent 0034349 commit c27697d

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"test": "TZ=Pacific/Auckland npm run test-tz && TZ=Europe/London npm run test-tz && npm run test-tz && jest",
1010
"test-tz": "jest test/timezone.test --coverage=false",
1111
"lint": "./node_modules/.bin/eslint src/* test/* build/*",
12-
"prettier": "prettier --write \"{src,test,build,docs}/**/*.{js,ts,md}\"",
12+
"prettier": "prettier --write \"docs/**/*.md\"",
1313
"babel": "cross-env BABEL_ENV=build babel src --out-dir esm --copy-files",
1414
"build": "cross-env BABEL_ENV=build node build && npm run size",
1515
"sauce": "npx karma start karma.sauce.conf.js",

prettier.config.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
module.exports = {
22
useTabs: false,
33
printWidth: 80,
4-
tabWidth: 2,
54
singleQuote: true,
65
trailingComma: 'none',
7-
semi: false,
8-
arrowParens: 'avoid'
6+
semi: false
97
}

0 commit comments

Comments
 (0)