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

Replace DisabledByDefault with disabling each cop #26

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
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
29 changes: 24 additions & 5 deletions rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,33 @@ inherit_mode:

AllCops:
SuggestExtensions: false
DisabledByDefault: true
Exclude:
- "data/**/*"

# All cops except your using extensions are disabled by default.
Style:
Enabled: false
Layout:
Enabled: false
Lint:
Enabled: false
Metrics:
Enabled: false
Naming:
Enabled: false
Security:
Enabled: false
Bundler:
Enabled: false
Gemspec:
Enabled: false
Performance:
Enabled: false
Exclude:
- "test/**/*"
Rails:
Enabled: false
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As with cop names, these department names should also be listed in ASCII order.

Copy link
Author

@shima-zu shima-zu Nov 25, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed 5a5b628


# Align `when` with `end`.
Layout/CaseIndentation:
Enabled: true
Expand Down Expand Up @@ -152,10 +175,6 @@ Lint/RequireParentheses:
Lint/UriEscapeUnescape:
Enabled: true

Performance:
Exclude:
- "test/**/*"

Performance/FlatMap:
Enabled: true

Expand Down