diff --git a/package.json b/package.json index 2e80c93217ce..9c50bd92dd1f 100644 --- a/package.json +++ b/package.json @@ -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" },