Skip to content

Commit

Permalink
Use prettier config in venia-concept. Remove invalid ignore-path option
Browse files Browse the repository at this point in the history
  • Loading branch information
sirugh committed Oct 29, 2019
1 parent 36402e6 commit 7b0fcb0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/venia-concept/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"lint": "eslint --ignore-path .gitignore 'src/**/{*.js,package.json}'",
"load-env": "node ../pwa-buildpack/bin/buildpack load-env --core-dev-mode .",
"prepare": "yarn run load-env",
"prettier": "prettier --loglevel warn --single-quote --ignore-path .gitignore 'src/**/*.@(css|graphql|js)' '*.js'",
"prettier": "prettier --loglevel warn 'src/**/*.@(css|graphql|js)' '*.js'",
"prettier:check": "yarn run -s prettier -- --check",
"prettier:fix": "yarn run -s prettier -- --write",
"start": "node server.js",
Expand Down
5 changes: 5 additions & 0 deletions packages/venia-concept/prettier.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
const config = {
singleQuote: true
};

module.exports = config;

0 comments on commit 7b0fcb0

Please sign in to comment.