Skip to content

Commit

Permalink
chore: update renovate config and add pre-commit config (#126)
Browse files Browse the repository at this point in the history
  • Loading branch information
gregmagolan authored Feb 18, 2023
1 parent 66a26a5 commit e10f9a3
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 2 deletions.
26 changes: 26 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# See CONTRIBUTING.md for instructions.
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks

# Commitizen runs in commit-msg stage
# but we don't want to run the other hooks on commit messages
default_stages: [commit]

repos:
# Check formatting and lint for starlark code
- repo: https://github.com/keith/pre-commit-buildifier
rev: 4.0.1.1
hooks:
- id: buildifier
- id: buildifier-lint
# Enforce that commit messages allow for later changelog generation
- repo: https://github.com/commitizen-tools/commitizen
rev: v2.18.0
hooks:
# Requires that commitizen is already installed
- id: commitizen
stages: [commit-msg]
- repo: https://github.com/pre-commit/mirrors-prettier
rev: "v2.4.0"
hooks:
- id: prettier
15 changes: 13 additions & 2 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",

"extends": [
"config:base"
]
"config:base",
":preserveSemverRanges",
":rebaseStalePrs",
"schedule:weekly",
"group:recommended",
"group:monorepos",
"workarounds:all"
],

"labels": ["deps"],
"dependencyDashboard": true
}

0 comments on commit e10f9a3

Please sign in to comment.