Optional
excludeOptional
extensionsOptional
globcustom 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 });
};
Optional
includeA pattern, or array of patterns, which specify the files should operate on.
Optional
resolveresolve with base path for options.include and options.exclude
A pattern, or array of patterns, which specify the files should ignore.