Skip to content

Commit

Permalink
chore: configure renovate (#380)
Browse files Browse the repository at this point in the history
Co-authored-by: prisis <[email protected]>
Co-authored-by: Renovate Bot <[email protected]>
Co-authored-by: Shinigami92 <[email protected]>
  • Loading branch information
4 people authored Feb 1, 2022
1 parent f8a95a1 commit 18b4349
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 1 deletion.
29 changes: 29 additions & 0 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:base", "schedule:daily", "group:allNonMajor"],
"labels": ["dependencies"],
"reviewersFromCodeOwners": true,
"rangeStrategy": "bump",
"packageRules": [
{
"groupName": "typescript-eslint",
"matchPackagePrefixes": ["@typescript-eslint/"]
},
{
"groupName": "vitest",
"matchPackagePrefixes": ["@vitest/ui", "vitest"]
}
],
"ignoreDeps": [
// manually bumping
"@types/node",
"node",
"npm",
"prettier",
"typescript"
],
"vulnerabilityAlerts": {
"labels": ["security"],
"assignees": ["team:maintainers"]
}
}
11 changes: 11 additions & 0 deletions .prettierrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,15 @@ module.exports = {
/* require.resolve("prettier-plugin-organize-imports") */
],
singleQuote: true,
overrides: [
{
files: '*.json5',
options: {
parser: 'json5',
quoteProps: 'preserve',
singleQuote: false,
trailingComma: 'none',
},
},
],
};
6 changes: 5 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,9 @@
"eslint.validate": ["javascript", "typescript"],

// Always use the `package.json`'s `typescript`
"typescript.tsdk": "node_modules/typescript/lib"
"typescript.tsdk": "node_modules/typescript/lib",

"files.associations": {
"*.json5": "jsonc"
}
}

0 comments on commit 18b4349

Please sign in to comment.