-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathrenovate.json5
52 lines (52 loc) · 1.47 KB
/
renovate.json5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
{
branchPrefix: 'renovate/',
dependencyDashboard: true,
enabledManagers: ['npm'],
gitAuthor: 'Renovate Bot <[email protected]>',
ignoreScripts: true,
internalChecksFilter: 'strict',
minimumReleaseAge: '30 days',
packageRules: [
{
groupName: 'Minor',
matchUpdateTypes: ['patch', 'minor'],
matchPackageNames: ['!prettier', '!typescript', '*'],
},
{
groupName: 'ESLint related',
matchPackageNames: [
'/^@metamask/eslint-config*/',
'/eslint/',
'/eslint-config-*/',
'/eslint-import-resolver-typescript/',
'/eslint-plugin-*/',
'/prettier/',
'/typescript/',
'/typescript-eslint/',
],
},
// Prettier handled separately because plugin API is not stable
{
groupName: 'Prettier',
matchPackageNames: ['prettier'],
matchUpdateTypes: ['patch', 'minor'],
},
// TypeScript handled separately because it doesn't use SemVer
// The minor version is a peer dependency of the TypeScript ESLint
// configuration, so the minor bumps are left to that group.
{
groupName: 'TypeScript',
matchPackageNames: ['typescript'],
matchUpdateTypes: ['patch'],
},
],
postUpdateOptions: ['yarnDedupeHighest'],
postUpgradeTasks: {
commands: ['yarn run allow-scripts auto'],
executionMode: 'update',
fileFilters: ['package.json'],
},
prConcurrentLimit: 10,
rangeStrategy: 'update-lockfile',
skipInstalls: false,
}