Skip to content

feat(lint): apply defaultIgnoreDirectories to nested directories#1072

Merged
jdkato merged 2 commits intoerrata-ai:v3from
secustor:feat/ignore-nested-ignore-directories
Feb 10, 2026
Merged

feat(lint): apply defaultIgnoreDirectories to nested directories#1072
jdkato merged 2 commits intoerrata-ai:v3from
secustor:feat/ignore-nested-ignore-directories

Conversation

@secustor
Copy link
Contributor

@secustor secustor commented Feb 6, 2026

Context

Currently vale will still lint directories like node_modules or .git folders, if the are not at the root directory.

Example cases could be:

  • JS monorepo packages/foo/node_modules
  • Git Worktree setup worktree-a/.git

Implementation

This PR changes ignore behaviour for defaultIgnoreDirectories from being the full path to being the name of lowest directory name.

@secustor secustor marked this pull request as draft February 9, 2026 09:19
@secustor secustor marked this pull request as ready for review February 9, 2026 10:47
@jdkato jdkato merged commit 6539915 into errata-ai:v3 Feb 10, 2026
1 check passed
@jdkato
Copy link
Member

jdkato commented Feb 10, 2026

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants