Skip to content

Commit

Permalink
add prettierrc
Browse files Browse the repository at this point in the history
  • Loading branch information
philippotto committed Oct 29, 2017
1 parent dd73446 commit 50021b7
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 34 deletions.
5 changes: 5 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"trailingComma": "all",
"printWidth": 100,
}

33 changes: 0 additions & 33 deletions app/scripts/vexflow-min.js

This file was deleted.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@
"start": "node server.js",
"build": "BABEL_ENV=production ./node_modules/.bin/webpack --config webpack.config.production.js",
"lint": "./node_modules/.bin/eslint .",
"test": "node_modules/karma/bin/karma start --single-run --browsers PhantomJS"
"test": "node_modules/karma/bin/karma start --single-run --browsers PhantomJS",
"pretty": "node_modules/.bin/prettier --write --config .prettierrc \"app/scripts/**/*.js\""
}
}

0 comments on commit 50021b7

Please sign in to comment.