Add .prettierignore file

This commit is contained in:
Nicolas Gallagher
2018-05-21 22:21:44 -07:00
parent 64307c066a
commit 2d83ffbd6b
2 changed files with 5 additions and 2 deletions

4
.prettierignore Normal file
View File

@@ -0,0 +1,4 @@
coverage
dist
node_modules
packages/**/vendor/*

View File

@@ -12,8 +12,7 @@
"website": "cd website && yarn start",
"website:release": "cd website && yarn release",
"flow": "flow",
"fmt": "find packages scripts types website -name '*.js' | grep -v -E '(node_modules|dist|vendor)' | xargs yarn fmt:cmd",
"fmt:cmd": "prettier --write",
"fmt": "prettier --write \"**/*.js\"",
"jest": "BABEL_ENV=commonjs jest --config ./scripts/jest/config.js",
"lint": "yarn lint:check --fix",
"lint:check": "eslint packages scripts website",