Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable rubocop rules this project is compliant with #537

Merged
merged 1 commit into from
Jan 3, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 0 additions & 24 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,10 @@ AllCops:
Lint/AssignmentInCondition:
Enabled: false

Bundler/OrderedGems:
Enabled: false

# Enforcing this results in a lot of unnecessary indentation.
Style/ClassAndModuleChildren:
Enabled: false

Style/CollectionMethods:
Enabled: false

Style/Documentation:
Exclude:
- 'spec/**/*'
Expand All @@ -29,16 +23,6 @@ Style/Documentation:
Layout/DotPosition:
EnforcedStyle: leading

Style/FormatString:
Enabled: false

Naming/FileName:
Exclude:
- 'bin/haml-lint'
- 'Gemfile'
- 'Rakefile'
- '*.gemspec'

Style/GuardClause:
Enabled: false

Expand Down Expand Up @@ -107,11 +91,6 @@ Naming/PredicateName:
Style/SignalException:
Enabled: false

# Forcing a particular name (e.g. |a, e|) for inject methods prevents you from
# choosing intention-revealing names.
Style/SingleLineBlockParams:
Enabled: false

Style/SpecialGlobalVars:
Enabled: false

Expand Down Expand Up @@ -139,8 +118,5 @@ Style/TrailingCommaInArrayLiteral:
Style/TrailingCommaInHashLiteral:
Enabled: false

Style/TrivialAccessors:
Enabled: false

Lint/Void:
Enabled: false
Loading