OptionalexcludeOptionalextensionsOptionalglobcustom glob matcher. For example:
import picomatch from 'picomatch';
const globMatcher = (pathId, ruleIdNormalized, _ruleId) => {
return picomatch(ruleIdNormalized, { dot: true })(pathId);
};
import { isMatch } from 'micromatch';
const globMatcher = (pathId, ruleIdNormalized, _ruleId) => {
return isMatch(pathId, ruleIdNormalized, { dot: true });
};
OptionalincludeA pattern, or array of patterns, which specify the files should operate on.
Optionalresolveresolve with base path for options.include and options.exclude
A pattern, or array of patterns, which specify the files should ignore.