Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ESLint support for documentation #3047

Merged
merged 28 commits into from
Mar 4, 2017
Merged
Changes from 1 commit
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
ba946c4
add markdown plugin in eslint
abdulhannanali Feb 28, 2017
b56ca27
add lint-docs build step
abdulhannanali Feb 28, 2017
332a17f
lint JavaScript file
abdulhannanali Feb 28, 2017
a31cfcb
final lint-docs command
abdulhannanali Mar 1, 2017
ac36553
lint ExpectAPI
abdulhannanali Mar 1, 2017
bc078f3
lint GettingStarted.md
abdulhannanali Mar 2, 2017
7c60fdb
lint GlobalAPI
abdulhannanali Mar 2, 2017
c930511
lint GlobalAPI
abdulhannanali Mar 2, 2017
60ad96a
lint JestObjectAPI
abdulhannanali Mar 2, 2017
bb4b33e
lint Webpack.md
abdulhannanali Mar 2, 2017
9f9ec1f
lint UsingMatchers.md in docs
abdulhannanali Mar 2, 2017
c4ee489
lint TutorialReactNative.md in docs
abdulhannanali Mar 2, 2017
d3181c0
lint TutorialReact.md in docs
abdulhannanali Mar 2, 2017
1b4d431
lint docs file
abdulhannanali Mar 2, 2017
34ec518
add lint-docs to test-ci script
abdulhannanali Mar 2, 2017
7184d5c
add lint-docs script to test & test-ci
abdulhannanali Mar 2, 2017
09b837a
turn off more rules to lint-docs in package.json
abdulhannanali Mar 2, 2017
a67a26f
remove lint-docs from test and test-ci
abdulhannanali Mar 2, 2017
3e60686
add lint-docs to test script in package.json
abdulhannanali Mar 2, 2017
c0ca118
remove lint-docs script from circle.yml
abdulhannanali Mar 2, 2017
928e122
add lint-docs script to test-ci in package.json
abdulhannanali Mar 2, 2017
ed693f8
rename js codeblock with json appropriately
abdulhannanali Mar 2, 2017
51bf062
remove unnecessary log files
abdulhannanali Mar 2, 2017
f6f8aaf
remove lint-docs from test-ci
abdulhannanali Mar 2, 2017
2af605a
remove error.log file
abdulhannanali Mar 2, 2017
8d83aff
use eslintrc-docs.json for overriding
abdulhannanali Mar 3, 2017
4b2a072
remove eslint comments from docs
abdulhannanali Mar 3, 2017
42406cc
add lint-docs in correct order to test-ci and test
abdulhannanali Mar 3, 2017
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
remove lint-docs from test and test-ci
  • Loading branch information
abdulhannanali authored and cpojer committed Mar 4, 2017
commit a67a26f873e59f440fb6ad10f345fd28066fc080
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,11 @@
"lint-docs": "eslint --rule \"{'no-undef': 0, 'consistent-return': 0, 'no-unused-vars': 0}\" --no-ignore --ext md ./docs/*.md",
"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