Skip to content

Commit

Permalink
fix: Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
JureSotosek committed Sep 16, 2018
1 parent 8d1be3a commit a8c571f
Show file tree
Hide file tree
Showing 9 changed files with 1,460 additions and 222 deletions.
6 changes: 5 additions & 1 deletion package.json
Expand Up @@ -16,7 +16,8 @@
"build": "babel src --out-dir dist --ignore __tests__",
"prepublish": "cross-env NODE_ENV=production npm run build",
"dev": "babel -w src --out-dir dist --ignore __tests__",
"test": "xo && ava",
"format": "prettier-check --ignore-path .gitignore {src,.}/*.js",
"test": "prettier-check --ignore-path .gitignore {src,.}/*.js && ava",
"pretest": "npm run build",
"semantic-release": "semantic-release",
"postinstall": "opencollective postinstall"
Expand All @@ -38,6 +39,7 @@
"apollo-cache-inmemory": "^1.2.10",
"apollo-client": "^2.4.2",
"apollo-link-http": "^1.5.5",
"ava": "^0.25.0",
"child_process": "^1.0.2",
"dot-prop": "^4.2.0",
"execa": "^0.9.0",
Expand All @@ -50,6 +52,8 @@
"ink-text-input": "^1.1.1",
"meow": "^4.0.0",
"opencollective": "^1.0.3",
"prettier": "^1.14.2",
"prettier-check": "^2.0.0",
"react": "^16.5.1",
"react-apollo": "^2.1.11",
"react-dom": "^16.5.1",
Expand Down
5 changes: 5 additions & 0 deletions prettier.config.js
@@ -0,0 +1,5 @@
module.exports = {
semi: false,
singleQuote: true,
trailingComma: 'all',
}

0 comments on commit a8c571f

Please sign in to comment.