Skip to content
Snippets Groups Projects
Unverified Commit ac9933e7 authored by Michael Kriese's avatar Michael Kriese Committed by GitHub
Browse files

chore: drop invalid file (#30393)

parent ba7a39de
No related branches found
No related tags found
No related merge requests found
import { BaseBranchesMatcher } from './base-branches';
import { CategoriesMatcher } from './categories';
import { CurrentAgeMatcher } from './current-age';
import { CurrentValueMatcher } from './current-value';
import { CurrentVersionMatcher } from './current-version';
import { DatasourcesMatcher } from './datasources';
import { DepNameMatcher } from './dep-names';
import { DepTypesMatcher } from './dep-types';
import { FileNamesMatcher } from './files';
import { ManagersMatcher } from './managers';
import { MergeConfidenceMatcher } from './merge-confidence';
import { NewValueMatcher } from './new-value';
import { PackageNameMatcher } from './package-names';
import { RepositoriesMatcher } from './repositories';
import { SourceUrlsMatcher } from './sourceurls';
import type { MatcherApi } from './types';
import { UpdateTypesMatcher } from './update-types';
const matchers: MatcherApi[] = [];
export default matchers;
// Each matcher under the same index will use a logical OR, if multiple matchers are applied AND will be used
// applyPackageRules evaluates matchers in the order of insertion and returns early on failure.
// Therefore, when multiple matchers are set in a single packageRule, some may not be checked.
// Since matchConfidence matcher can abort the run due to unauthenticated use, it should be evaluated first.
<<<<<<< HEAD
matchers.push([new MergeConfidenceMatcher()]);
matchers.push([new RepositoriesMatcher()]);
matchers.push([new BaseBranchesMatcher()]);
matchers.push([new CategoriesMatcher()]);
matchers.push([new ManagersMatcher()]);
matchers.push([new FileNamesMatcher()]);
matchers.push([new DatasourcesMatcher()]);
matchers.push([
new DepNameMatcher(),
new DepPatternsMatcher(),
new DepPrefixesMatcher(),
new PackageNameMatcher(),
new PackagePatternsMatcher(),
new PackagePrefixesMatcher(),
]);
matchers.push([new DepTypesMatcher()]);
matchers.push([new CurrentValueMatcher()]);
matchers.push([new CurrentVersionMatcher()]);
matchers.push([new UpdateTypesMatcher()]);
matchers.push([new SourceUrlsMatcher(), new SourceUrlPrefixesMatcher()]);
matchers.push([new NewValueMatcher()]);
matchers.push([new CurrentAgeMatcher()]);
=======
matchers.push(new MergeConfidenceMatcher());
matchers.push(new DepNameMatcher());
matchers.push(new PackageNameMatcher());
matchers.push(new FileNamesMatcher());
matchers.push(new DepTypesMatcher());
matchers.push(new BaseBranchesMatcher());
matchers.push(new ManagersMatcher());
matchers.push(new DatasourcesMatcher());
matchers.push(new UpdateTypesMatcher());
matchers.push(new SourceUrlsMatcher());
matchers.push(new CurrentValueMatcher());
matchers.push(new NewValueMatcher());
matchers.push(new CurrentVersionMatcher());
matchers.push(new RepositoriesMatcher());
matchers.push(new CategoriesMatcher());
matchers.push(new CurrentAgeMatcher());
>>>>>>> b66597a89 (feat(packageRules): migrate matchers and excludes (#28602))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment