Skip to content

Commit

Permalink
chore: update rubocop config
Browse files Browse the repository at this point in the history
  • Loading branch information
ekowidianto committed Jan 9, 2024
1 parent d48c1d8 commit 07a3f6d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 14 deletions.
12 changes: 6 additions & 6 deletions .hound.yml
Original file line number Diff line number Diff line change
@@ -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
4 changes: 2 additions & 2 deletions .rubocop.unhound.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
9 changes: 3 additions & 6 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ AllCops:
- '**/Gemfile'
- '**/Rakefile'
Exclude:
- 'vendor/bundle/**/*'
TargetRubyVersion: 3.0.4
- 'vendor/bundle/**/*'
TargetRubyVersion: 3.0

Metrics/LineLength:
Max: 100
Expand All @@ -21,7 +21,7 @@ Layout/DotPosition:
Style/Documentation:
Enabled: false

Layout/IndentHash:
Layout/FirstHashElementIndentation:
EnforcedStyle: consistent

Style/ParallelAssignment:
Expand All @@ -35,6 +35,3 @@ Style/WordArray:

Style/RegexpLiteral:
AllowInnerSlashes: true

Style/ClassAndModuleChildren:
EnforcedStyle: compact

0 comments on commit 07a3f6d

Please sign in to comment.