Skip to content

konsistent@1.0.0-beta.6

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 11 Aug 22:02
· 17 commits to main since this release
c0b8223

Patch Changes

  • f05e8b3: fix(konsistent): match variable-depth ** alongside {placeholder} segments and glob-style excludeFiles patterns

    ** in a paths pattern next to a {placeholder} segment previously only matched a single intermediate directory level instead of every depth, because placeholder extraction required the pattern and path to have the same number of segments. excludeFiles entries prefixed with **/ were silently ignored for the same reason. Path matching now backtracks through variable-depth ** segments when extracting placeholders and when matching excludeFiles glob patterns, so both now behave as documented.

    excludeFiles glob matching now delegates to picomatch, so it also correctly supports brace alternation ({a,b}) and character classes ([ab]), matching the same glob syntax paths resolves through. It no longer treats a {name} segment as a capturing placeholder: a brace group with no comma or range is matched literally, since excludeFiles patterns are plain glob patterns rather than placeholder patterns.

  • a4af28c: feat(konsistent): allow filtering paths covered via --paths, --modified, and --staged flags

  • Updated dependencies [f05e8b3]

    • @konsistent/convention@1.0.0-beta.6