konsistent@1.0.0-beta.6
Pre-releasePatch Changes
-
f05e8b3: fix(konsistent): match variable-depth
**alongside{placeholder}segments and glob-styleexcludeFilespatterns**in apathspattern 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.excludeFilesentries prefixed with**/were silently ignored for the same reason. Path matching now backtracks through variable-depth**segments when extracting placeholders and when matchingexcludeFilesglob patterns, so both now behave as documented.excludeFilesglob matching now delegates to picomatch, so it also correctly supports brace alternation ({a,b}) and character classes ([ab]), matching the same glob syntaxpathsresolves through. It no longer treats a{name}segment as a capturing placeholder: a brace group with no comma or range is matched literally, sinceexcludeFilespatterns are plain glob patterns rather than placeholder patterns. -
a4af28c: feat(konsistent): allow filtering paths covered via
--paths,--modified, and--stagedflags -
Updated dependencies [f05e8b3]
- @konsistent/convention@1.0.0-beta.6