Skip to content
Permalink
Browse files

Moved Prettier config to config file

  • Loading branch information...
bvaughn committed Oct 5, 2017
1 parent 192c429 commit 1da83176da420e3428d45ce00b6652dc657bd24f
Showing with 9 additions and 1 deletion.
  1. +8 −0 .prettierrc
  2. +1 −1 package.json
@@ -0,0 +1,8 @@
{
"bracketSpacing": false,
"jsxBracketSameLine": true,
"parser": "flow",
"printWidth": 80,
"singleQuote": true,
"trailingComma": "all"
}
@@ -71,7 +71,7 @@
"dev": "gatsby develop -H 0.0.0.0",
"lint": "eslint .",
"netlify": "yarn install && yarn build",
"prettier": "prettier --no-bracket-spacing --single-quote --jsx-bracket-same-line --trailing-comma all --print-width 80 --parser flow --write 'src/**/*.js'",
"prettier": "prettier --config .prettierrc --write '{flow-typed,plugins,src}/**/*.js'",
"reset": "rimraf ./.cache"
},
"devDependencies": {

0 comments on commit 1da8317

Please sign in to comment.
You can’t perform that action at this time.