Skip to content

Commit

Permalink
chore: renovate configuration
Browse files Browse the repository at this point in the history
- Add yarn to engines to prevent issues when updating the lockfiles
- Group non-major updates together
- Keep updates outside of daylight hours
  • Loading branch information
ifiokjr committed Feb 1, 2019
1 parent 7a71e4a commit 08438fb
Show file tree
Hide file tree
Showing 4 changed files with 2,133 additions and 110 deletions.
36 changes: 36 additions & 0 deletions .codeclimate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
version: '2' # required to adjust maintainability checks
checks:
argument-count:
config:
threshold: 4
complex-logic:
config:
threshold: 4
file-lines:
config:
threshold: 500
method-complexity:
config:
threshold: 5
method-count:
config:
threshold: 50
method-lines:
config:
threshold: 50
nested-control-flow:
config:
threshold: 4
return-statements:
config:
threshold: 6

exclude_patterns:
- 'config/'
- 'features/'
- '**/node_modules/'
- 'script/'
- '**/__tests__/'
- '**/*.d.ts'
- '**/*.dts.ts'
- '**/jest.*'
17 changes: 17 additions & 0 deletions .github/renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"extends": [
"config:base",
"docker:disable",
":disableDigestUpdates",
"group:test",
"monorepo:accounts",
"group:allNonMajor"
],
"timezone": "Europe/London",
"lockFileMaintenance": {
"enabled": true
},
"prConcurrentLimit": 3,
"prHourlyLimit": 2,
"labels": ["type: dependencies", "renovate"]
}
11 changes: 0 additions & 11 deletions renovate.json

This file was deleted.

0 comments on commit 08438fb

Please sign in to comment.