Skip to content

Commit

Permalink
Run prettier against all the filetypes it can
Browse files Browse the repository at this point in the history
  • Loading branch information
Graham42 committed Oct 29, 2017
1 parent 6968cc6 commit deda513
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
node_modules/
bower_components/
dist/
package-lock.json
# npm install will reformat package.json which can conflict with prettier
package.json
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,6 @@
"BABEL_ENV=production webpack --config webpack.config.production.js && node pre-render.js",
"lint": "eslint .",
"test": "karma start --single-run --browsers PhantomJS",
"pretty": "prettier --write \"app/scripts/**/*.js\""
"pretty": "prettier --write '**/*.{js,jsx,ts,css,less,scss,json}'"
}
}

0 comments on commit deda513

Please sign in to comment.