Skip to content

Commit

Permalink
Add src/pages to blocking lint.
Browse files Browse the repository at this point in the history
  • Loading branch information
phulin committed Jan 31, 2020
1 parent e7443c7 commit cffe785
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"prettier": "prettier --write {__tests__,fixtures,models,one_shot_scripts,public,routes,serverjs,src,views}'/**/*.js' webpack.'*'.js",
"prettier-master": "prettier --write $(git diff master --name-only | grep -E '.js$')",
"prettier-head": "prettier --write $(git diff HEAD --name-only | grep -E '.js$')",
"lint": "prettier --check {__tests__,fixtures,models,one_shot_scripts,public,routes,serverjs,src,views}'/**/*.js' && eslint routes",
"lint": "prettier --check {__tests__,fixtures,models,one_shot_scripts,public,routes,serverjs,src,views}'/**/*.js' && eslint routes src/pages",
"nodemon": "nodemon --ignore src --ignore public",
"webpack-dev-server": "webpack-dev-server --config webpack.dev.js",
"build": "webpack --mode production --config webpack.prod.js && rollup -c",
Expand Down

0 comments on commit cffe785

Please sign in to comment.