aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Cooper <josh@puppet.com>2018-06-28 00:08:34 -0700
committerJosh Cooper <josh@puppet.com>2018-06-28 00:08:34 -0700
commita1923b83b6b25de62d5618d933dc6b70bd7c2441 (patch)
tree7033c2ba79931bbf9dcccfabba94dfbfb08982bb
parent5217482dee51be5456c22ba079b4a8894547b3a2 (diff)
downloadpuppet-augeas_core-a1923b83b6b25de62d5618d933dc6b70bd7c2441.tar.gz
puppet-augeas_core-a1923b83b6b25de62d5618d933dc6b70bd7c2441.tar.bz2
Move rubocopy overrides to .sync.yml
-rw-r--r--.rubocop.yml20
-rw-r--r--.sync.yml48
2 files changed, 48 insertions, 20 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
index 0b11099..40a58e0 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -73,20 +73,14 @@ Style/StringMethods:
Enabled: true
Layout/EndOfLine:
Enabled: false
-Layout/IndentHeredoc:
- Enabled: false
Metrics/AbcSize:
Enabled: false
Metrics/BlockLength:
Enabled: false
-Metrics/BlockNesting:
- Enabled: false
Metrics/ClassLength:
Enabled: false
Metrics/CyclomaticComplexity:
Enabled: false
-Metrics/LineLength:
- Enabled: false
Metrics/MethodLength:
Enabled: false
Metrics/ModuleLength:
@@ -105,23 +99,9 @@ RSpec/MultipleExpectations:
Enabled: false
RSpec/NestedGroups:
Enabled: false
-Style/AccessorMethodName:
- Enabled: false
Style/AsciiComments:
Enabled: false
-Style/DoubleNegation:
- Enabled: false
Style/IfUnlessModifier:
Enabled: false
-Style/MultipleComparison:
- Enabled: false
-Style/NumericPredicate:
- Enabled: false
-Style/PredicateName:
- Enabled: false
Style/SymbolProc:
Enabled: false
-Style/SignalException:
- Enabled: false
-Style/VariableName:
- Enabled: false \ No newline at end of file
diff --git a/.sync.yml b/.sync.yml
new file mode 100644
index 0000000..f9356c1
--- /dev/null
+++ b/.sync.yml
@@ -0,0 +1,48 @@
+.rubocop.yml:
+ default_configs:
+ Style/SignalException:
+ Enabled: false
+ Layout/IndentHeredoc:
+ Enabled: false
+ Metrics/BlockNesting:
+ Enabled: false
+ Metrics/LineLength:
+ Enabled: false
+ Style/AccessorMethodName:
+ Enabled: false
+ Style/DoubleNegation:
+ Enabled: false
+ Style/MultipleComparison:
+ Enabled: false
+ Style/NumericPredicate:
+ Enabled: false
+ Style/PredicateName:
+ Enabled: false
+ Style/SignalException:
+ Enabled: false
+ Style/VariableName:
+ Enabled: false
+Gemfile:
+ required:
+ ':system_tests':
+ - gem: 'puppet-module-posix-system-r#{minor_version}'
+ platforms: ruby
+ - gem: 'puppet-module-win-system-r#{minor_version}'
+ platforms:
+ - mswin
+ - mingw
+ - x64_mingw
+ - gem: beaker
+ version: '~> 3.34'
+ from_env: BEAKER_VERSION
+ - gem: beaker-abs
+ from_env: BEAKER_ABS_VERSION
+ version: '~> 0.5'
+ - gem: beaker-pe
+ - gem: beaker-hostgenerator
+ from_env: BEAKER_HOSTGENERATOR_VERSION
+ - gem: beaker-rspec
+ from_env: BEAKER_RSPEC_VERSION
+ - gem: beaker-puppet
+ from_env: BEAKER_PUPPET_VERSION
+ version: '~> 0.14'