Skip to content

Commit

Permalink
chore: use config file for Prettier (#1247)
Browse files Browse the repository at this point in the history
  • Loading branch information
winniehell authored and eddyerburgh committed Jun 5, 2019
1 parent 10ea249 commit 8a74a15
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"semi": false,
"singleQuote": true
}
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
"lint": "eslint --ext js,vue . --ignore-path .gitignore",
"lint:docs": "eslint --ext js,vue,md docs --ignore-path .gitignore",
"lint:fix": "npm run lint -- --fix",
"format": "prettier --single-quote --no-semi --write \"**/*.{js,json,vue,md}\"",
"format:check": "prettier --single-quote --no-semi --check \"**/*.{js,json,vue,md}\"",
"format": "prettier --write \"**/*.{js,json,vue,md}\"",
"format:check": "prettier --check \"**/*.{js,json,vue,md}\"",
"release": "npm run build && npm run test:unit:only && lerna publish --conventional-commits -m \"chore(release): publish %s\" --cd-version prerelease",
"test": "npm run format:check && npm run lint && npm run lint:docs && npm run flow && npm run test:types && npm run test:unit && npm run test:unit:karma && npm run test:unit:node",
"test:compat": "scripts/test-compat-all.sh",
Expand Down

0 comments on commit 8a74a15

Please sign in to comment.