Commit 4f236165 authored by Peter Leitzen's avatar Peter Leitzen

RuboCop: Increase amount of files in cache

Currently, we need to inspect more files that fit into RuboCop's cache:

  $ bundle exec rubocop --list-target-files | wc -l
  25188

Let's adjust RuboCop's configuration accordingly.
parent a908d570
...@@ -40,7 +40,7 @@ AllCops: ...@@ -40,7 +40,7 @@ AllCops:
- 'db/ci_migrate/*.rb' # since the `db/ci_migrate` is a symlinked to `db/migrate` - 'db/ci_migrate/*.rb' # since the `db/ci_migrate` is a symlinked to `db/migrate`
# Use absolute path to avoid orphan directories with changed workspace root. # Use absolute path to avoid orphan directories with changed workspace root.
CacheRootDirectory: <%= Dir.getwd %>/tmp CacheRootDirectory: <%= Dir.getwd %>/tmp
MaxFilesInCache: 25000 MaxFilesInCache: 30000
Cop/AvoidKeywordArgumentsInSidekiqWorkers: Cop/AvoidKeywordArgumentsInSidekiqWorkers:
Enabled: true Enabled: true
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment