You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
node-test-linter npm installs remark-cli for each build #16628
if [ !-d tools/remark-cli/node_modules ];then \
cd tools/remark-cli && ../.././node ../.././deps/npm/bin/npm-cli.js install;fi
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.1.2 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"freebsd","arch":"x64"})
added 272 packages in 21.24s
if [ !-d tools/remark-preset-lint-node/node_modules ];then \
cd tools/remark-preset-lint-node && ../.././node ../.././deps/npm/bin/npm-cli.js install;fi
npm notice created a lockfile as package-lock.json. You should commit this file.
added 48 packages in 4.735s
Running Markdown linter...
It's only taking 25s each time, but it seems wasteful. I know this is how Travis etc. work, so maybe this should just be closed, but I miss sub two minute lint jobs.
Initially, I did include node_modules at #12756 but the diff was too huge to review so I excluded them as requested. I will make a patch to add them again.
Activity
maclover7 commentedon Oct 31, 2017
Hmm, looks like
node_modulesis git checked-in for ESLint, but not for Remark... should Remark also do this?cc @watilde
watilde commentedon Oct 31, 2017
Initially, I did include
node_modulesat #12756 but the diff was too huge to review so I excluded them as requested. I will make a patch to add them again.tools: speed up lint-md-build
tools: include remark node_modules
tools: speed up lint-md-build
tools: speed up lint-md-build
tools: speed up lint-md-build
tools: speed up lint-md-build