Skip to content

Commit

Permalink
Run docs lint when doing yarn lint. (#3077)
Browse files Browse the repository at this point in the history
  • Loading branch information
cpojer committed Mar 6, 2017
1 parent cec138b commit 81e741d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,16 +43,16 @@
"danger": "node ./danger/node_modules/.bin/danger",
"jest": "node ./packages/jest-cli/bin/jest.js",
"jest-coverage": "yarn run jest -- --coverage",
"lint": "eslint . --cache",
"lint": "eslint . --cache && yarn run lint-docs",
"lint-docs": "eslint --config ./.eslintrc-docs.json --no-ignore --ext md ./docs/*.md",
"prettier": "prettier --write 'packages/*/src/**.js' --single-quote --trailing-comma=all --bracket-spacing=false",
"postinstall": "node ./scripts/postinstall.js && node ./scripts/build.js && (cd packages/eslint-plugin-jest && yarn link) && yarn link eslint-plugin-jest",
"publish": "yarn run build-clean && yarn run build && lerna publish",
"test-ci": "yarn run typecheck && yarn run lint && yarn run lint-docs && yarn run build && yarn run jest-coverage -- -i && yarn run test-examples && node scripts/mapCoverage.js && codecov",
"test-ci": "yarn run typecheck && yarn run lint && yarn run build && yarn run jest-coverage -- -i && yarn run test-examples && node scripts/mapCoverage.js && codecov",
"test-ci-partial": "yarn run build && yarn run jest -- -i && yarn run test-examples",
"test-examples": "node scripts/test_examples.js",
"test-pretty-format-perf": "node packages/pretty-format/perf/test.js",
"test": "yarn run typecheck && yarn run lint && yarn run lint-docs && yarn run build && yarn run jest && yarn run test-examples",
"test": "yarn run typecheck && yarn run lint && yarn run build && yarn run jest && yarn run test-examples",
"typecheck": "flow check",
"watch": "yarn run build; node ./scripts/watch.js"
},
Expand Down

0 comments on commit 81e741d

Please sign in to comment.