Skip to content

Commit

Permalink
infra: reconfigure renovate (#965)
Browse files Browse the repository at this point in the history
  • Loading branch information
Shinigami92 authored Feb 28, 2024
1 parent bf89e31 commit cb688b4
Show file tree
Hide file tree
Showing 4 changed files with 79 additions and 15 deletions.
62 changes: 62 additions & 0 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:base",
"schedule:earlyMondays",
"group:allNonMajor",
":prHourlyLimitNone",
"helpers:pinGitHubActionDigests"
],
"labels": ["c: dependencies"],
"lockFileMaintenance": {
"enabled": true
},
"reviewersFromCodeOwners": true,
"rangeStrategy": "bump",
"packageRules": [
{
"groupName": "devDependencies",
"matchDepTypes": ["devDependencies"],
"rangeStrategy": "bump"
},
{
"groupName": "dependencies",
"matchDepTypes": ["dependencies"],
"rangeStrategy": "replace"
},
{
"groupName": "peerDependencies",
"matchDepTypes": ["peerDependencies"],
"rangeStrategy": "widen"
},
{
"groupName": "engines",
"matchDepTypes": ["engines"],
"rangeStrategy": "replace"
},
{
"groupName": "typescript-eslint",
"matchPackagePrefixes": ["@typescript-eslint/"]
},
{
"groupName": "vitest",
"matchPackageNames": ["@vitest/coverage-v8", "@vitest/ui", "vitest"]
},
{
"groupName": "prettier",
"matchPackageNames": ["@types/prettier", "prettier"]
},
{
"groupName": "typescript",
"matchPackageNames": ["typescript"]
},
{
"groupName": "doc-dependencies",
"matchPackageNames": ["@algolia/client-search", "vitepress"]
}
],
"vulnerabilityAlerts": {
"labels": ["c: security"],
"assignees": ["@Shinigami92"]
}
}
11 changes: 11 additions & 0 deletions .prettierrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,15 @@ module.exports = {
singleQuote: true,
printWidth: 120,
tabWidth: 2,
overrides: [
{
files: '*.json5',
options: {
parser: 'json5',
quoteProps: 'preserve',
singleQuote: false,
trailingComma: 'none',
},
},
],
}
8 changes: 6 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
{
"deepcode.review.results.hideInformationIssues": false,
"typescript.tsdk": "node_modules/typescript/lib"
// Always use the `package.json`'s `typescript`
"typescript.tsdk": "node_modules/typescript/lib",

"files.associations": {
"*.json5": "jsonc"
}
}
13 changes: 0 additions & 13 deletions renovate.json

This file was deleted.

0 comments on commit cb688b4

Please sign in to comment.