diff --git a/.prettierrc.js b/.prettierrc.js new file mode 100644 index 0000000000..a425d3f761 --- /dev/null +++ b/.prettierrc.js @@ -0,0 +1,4 @@ +module.exports = { + singleQuote: true, + trailingComma: 'es5', +}; diff --git a/package.json b/package.json index bda3ea90cc..2b02623e91 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,7 @@ "jshint": "yarn grunt jshint", "lint": "yarn eslint && yarn grunt lint && yarn tslint", "tslint": "tslint --config tslint.json --format stylish --project .", - "format": "prettier --single-quote --trailing-comma es5 --write \"*.js\" \"js/**/*.js\" \"ts/**/*.{ts,tsx}\" \"test/**/*.js\"", + "format": "prettier --write \"*.js\" \"js/**/*.js\" \"ts/**/*.{ts,tsx}\" \"test/**/*.js\"", "transpile": "tsc", "clean-transpile": "rimraf ts/**/*.js ts/*.js", "open-coverage": "open coverage/lcov-report/index.html",