Skip to content

Commit

Permalink
chore: update prettier setting
Browse files Browse the repository at this point in the history
  • Loading branch information
iamkun committed Feb 11, 2019
1 parent 0034349 commit c27697d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 1 addition & 3 deletions prettier.config.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
module.exports = {
useTabs: false,
printWidth: 80,
tabWidth: 2,
singleQuote: true,
trailingComma: 'none',
semi: false,
arrowParens: 'avoid'
semi: false
}

0 comments on commit c27697d

Please sign in to comment.