Skip to content

Commit

Permalink
feat: migrate config and add strict validation
Browse files Browse the repository at this point in the history
resolves #13
  • Loading branch information
frantic1048 committed Nov 9, 2023
1 parent b663b21 commit 30e4761
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 18 deletions.
20 changes: 4 additions & 16 deletions default.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,9 @@
{
"automergeType": "pr",
"description": "Default config for RightCapital repositories",
"extends": [
"config:base",
":pinAllExceptPeerDependencies"
],
"labels": [
"renovate"
],
"npm": {
"commitMessageTopic": "{{prettyDepType}} {{depName}}"
},
"extends": ["config:recommended", ":pinAllExceptPeerDependencies"],
"labels": ["renovate"],
"npm": { "commitMessageTopic": "{{prettyDepType}} {{depName}}" },
"packageRules": [
{
"description": "Automerge non-major updates",
Expand All @@ -21,12 +14,7 @@
}
],
"platformAutomerge": true,
"postUpdateOptions": [
"npmDedupe",
"pnpmDedupe",
"yarnDedupeFewer"
],
"postUpdateOptions": ["npmDedupe", "pnpmDedupe", "yarnDedupeFewer"],
"prCreation": "immediate",
"rangeStrategy": "auto"
}

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@
"url": "https://github.com/RightCapitalHQ/renovate-config/issues"
},
"scripts": {
"validate": "renovate-config-validator default.json",
"validate": "renovate-config-validator --strict default.json",
"test": "pnpm run validate",
"prepare": "pnpm run test"
},
"devDependencies": {
"renovate": "latest"
},
"packageManager": "[email protected]"
}
}

0 comments on commit 30e4761

Please sign in to comment.