-
-
Notifications
You must be signed in to change notification settings - Fork 137
Closed
Labels
🙋 no/questionThis does not need any changesThis does not need any changes
Description
Hello.
Given the following lerna directory structure:
packages
package1
node_modules
package.json
README.md
package2
node_modules
package.json
README.md
.gitignore
.remarkrc
package.json
README.md
Where .remarkrc
contains:
{
"plugins": [
"preset-lint-recommended",
"preset-lint-consistent"
]
}
And the root package.json
contains:
{
"scripts": {
"lint:md": "remark '**/*.md' --ignore-path .gitignore --quiet --frail",
},
"devDependencies": {
"remark-cli": "3.0.0",
"remark-preset-lint-consistent": "2.0.0",
"remark-preset-lint-recommended": "2.0.0",
}
}
And .gitignore
contains:
.DS_Store
.env
dist
lerna-debug.log
node_modules
npm-debug.log
coverage
Running npm run lint:md
returns a few thousand of the same error (I believe one for each markdown files within the node_modules
directories, e.g.:
packages/website/node_modules/leveldown/README.md
1:1 error Cannot process specified file: it’s ignored
Whereas the same setup (albeit with a remark-cli@2
configuration object) threw no errors.
I've taken a poke around, but I'm struggling to see what might be causing it. Am I missing something obvious?
Metadata
Metadata
Assignees
Labels
🙋 no/questionThis does not need any changesThis does not need any changes