You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to exclude directories from the linter via a pattern? Something like a glob: **/build which would match every build directory from the root to other sub directories.
@yoheimuta Thanks for this nice utility. I am interested in contributing this feature.
Do you prefer pattern matching via glob as suggested in this issue, or regex? In my opinion globs are nicer to work with, but the standard library implementation in filepath doesn't support the ** pattern which many users will expect to be supported. There are third-party libraries such as https://github.com/bmatcuk/doublestar that could be used instead.
For backwards-compatibility reasons I think we'd have to introduce a new field (exclude_pattern ?) for both directories and files.
Is it possible to exclude directories from the linter via a pattern? Something like a glob:
**/build
which would match everybuild
directory from the root to other sub directories.The text was updated successfully, but these errors were encountered: