summaryrefslogtreecommitdiff
path: root/.rubocop.yml
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2020-07-06 11:03:35 -0600
committermo khan <mo.khan@gmail.com>2020-07-10 08:53:37 -0600
commit36cdb0040abda394264455a1fdf3d6782af95ceb (patch)
tree54093c956c0f4dcf4c2ad352847017aee9a88edc /.rubocop.yml
parentc7385965b4166fb6ab2db3387c67cd54aef1b8df (diff)
Isolate license_management ruby from project
* Target ruby version 2.7.1 * Add spec to fetch gems from a custom source * Add proxy to rubygems.org config * Specify default env vars to support offline environment * Cleanup custom certificates after spec * Inline docker-test script * Do not install license_finder with each installed ruby * Increase gem log verbosity and include backtrace * Extract test fixtures for the different ruby scenarios * Find *.gemspec files in gems dir * Use RUBYLIB to hijack src path * Run scan from project path dir
Diffstat (limited to '.rubocop.yml')
-rw-r--r--.rubocop.yml9
1 files changed, 8 insertions, 1 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
index 32a0c0e..deaab88 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -6,10 +6,14 @@ require:
- rubocop-rspec
AllCops:
- TargetRubyVersion: 2.4
+ TargetRubyVersion: 2.7
Exclude:
- 'tmp/**/*'
- 'spec/fixtures/**/*'
+ - 'vendor/**/*'
+
+Cop/GemFetcher:
+ Enabled: false
Naming/ClassAndModuleCamelCase:
Exclude:
@@ -21,3 +25,6 @@ Layout/IndentFirstArrayElement:
Layout/IndentFirstHashElement:
EnforcedStyle: consistent
+
+Rails/SkipsModelValidations:
+ Enabled: false