summaryrefslogtreecommitdiff
path: root/.rubocop.yml
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2020-03-07 21:58:48 -0700
committermo khan <mo.khan@gmail.com>2020-03-07 21:58:48 -0700
commit3a6171fb149765a7c13c4bc365bf616c5aa9703d (patch)
tree2f51de2e86f8122f2af4b414028e250cde084eba /.rubocop.yml
parentfd8c62ea5df2e9a983a9dc9c0741f88dc00b911d (diff)
Apply gitlab-styles
Diffstat (limited to '.rubocop.yml')
-rw-r--r--.rubocop.yml19
1 files changed, 19 insertions, 0 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
new file mode 100644
index 0000000..a6cff9d
--- /dev/null
+++ b/.rubocop.yml
@@ -0,0 +1,19 @@
+inherit_gem:
+ gitlab-styles:
+ - rubocop-default.yml
+
+require:
+ - rubocop-rspec
+
+AllCops:
+ TargetRubyVersion: 2.4
+
+Naming/ClassAndModuleCamelCase:
+ Exclude:
+ - 'lib/license/management/report/v1_1.rb'
+
+Layout/IndentFirstArrayElement:
+ EnforcedStyle: consistent
+
+Layout/IndentFirstHashElement:
+ EnforcedStyle: consistent