nodejs / examples

A repository of runnable Node.js examples that go beyond "hello, world!"
MIT License
649 stars 343 forks source link

fix: Ignore node_modules when linting *.md #30

Closed Thiruppathi closed 3 years ago

Thiruppathi commented 3 years ago

The test:markdown script was running on all children directories ./**/node_modules as well; so instead of ignoring just ./node_modules we can ignore the files & directories mentioned in .gitignore file as follows.

"test:markdown": "markdownlint . --ignore-path .gitignore",