Kaynağa Gözat

Ruby version

Dalia Carlon 9 yıl önce
ebeveyn
işleme
331180a8a3
2 değiştirilmiş dosya ile 6 ekleme ve 6 silme
  1. 5 5
      .overcommit.yml
  2. 1 1
      .rubocop.yml

+ 5 - 5
.overcommit.yml

@@ -15,11 +15,11 @@
 #
 # Uncomment the following lines to make the configuration take effect.
 
-# PreCommit:
-#   RuboCop:
-#     enabled: true
-#     on_warn: fail # Treat all warnings as failures
-#
+PreCommit:
+  RuboCop:
+    enabled: true
+    on_warn: fail # Treat all warnings as failures
+
 #  TrailingWhitespace:
 #    enabled: true
 #    exclude:

+ 1 - 1
.rubocop.yml

@@ -1,5 +1,5 @@
 AllCops:
-  TargetRubyVersion: 2.3
+  TargetRubyVersion: 2.2
   Exclude:
     - "vendor/**/*"
     - "db/**/*"