Skip to content
This repository was archived by the owner on Jun 22, 2024. It is now read-only.

fix: Ignore node_modules when linting *.md#30

Merged
bnb merged 1 commit intonodejs:mainfrom
Thiruppathi:ignore-nodemodules-when-linting
Dec 10, 2020
Merged

fix: Ignore node_modules when linting *.md#30
bnb merged 1 commit intonodejs:mainfrom
Thiruppathi:ignore-nodemodules-when-linting

Conversation

@Thiruppathi
Copy link
Contributor

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",

@Thiruppathi Thiruppathi changed the title ⚙️ Ignore node_modules when linting *.md fix: Ignore node_modules when linting *.md Oct 29, 2020
@bnb bnb merged commit e8e0a0a into nodejs:main Dec 10, 2020
@Thiruppathi Thiruppathi deleted the ignore-nodemodules-when-linting branch December 11, 2020 16:35
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants