diff --git a/.hound.yml b/.hound.yml index fa95398..5b9d876 100644 --- a/.hound.yml +++ b/.hound.yml @@ -1,8 +1,8 @@ -ruby: - config_file: .rubocop.yml +fail_on_violations: true -java_script: - config_file: .jshintrc +rubocop: + config_file: .rubocop.yml + version: 1.22.1 -scss: - config_file: .scss-lint.yml +javascript: + enabled: false diff --git a/.rubocop.unhound.yml b/.rubocop.unhound.yml index d719cde..f4b6acb 100644 --- a/.rubocop.unhound.yml +++ b/.rubocop.unhound.yml @@ -100,10 +100,10 @@ Style/WhenThen: Lint/EachWithObjectArgument: Enabled: true -Lint/HandleExceptions: +Lint/SuppressedException: Enabled: true -Lint/LiteralInCondition: +Lint/LiteralAsCondition: Description: Checks of literals used in conditions. Enabled: true diff --git a/.rubocop.yml b/.rubocop.yml index ed1361f..fc5b76a 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -6,8 +6,8 @@ AllCops: - '**/Gemfile' - '**/Rakefile' Exclude: - - 'vendor/bundle/**/*' - TargetRubyVersion: 3.0.4 + - 'vendor/bundle/**/*' + TargetRubyVersion: 3.0 Metrics/LineLength: Max: 100 @@ -21,7 +21,7 @@ Layout/DotPosition: Style/Documentation: Enabled: false -Layout/IndentHash: +Layout/FirstHashElementIndentation: EnforcedStyle: consistent Style/ParallelAssignment: @@ -35,6 +35,3 @@ Style/WordArray: Style/RegexpLiteral: AllowInnerSlashes: true - -Style/ClassAndModuleChildren: - EnforcedStyle: compact