Skip to content

Commit 70dc91b

Browse files
authored
config/default: Set Enabled: false for new RuboCop rules
- The following message appeared when I ran `bundle exec rubocop` on this project. Since we're setting everything to `Enabled: false` to mimic `DisabledByDefault` for now, let's make this message go away. We almost certainly also don't want to blanket enable all new cops, so I've not added that configuration. ``` The following cops were added to RuboCop, but are not configured. Please set Enabled to either `true` or `false` in your `.rubocop.yml` file. Please also note that you can opt-in to new cops by default by adding this to your config: AllCops: NewCops: enable Lint/EmptyBlock: # new in 1.1 Enabled: true Lint/EmptyClass: # new in 1.3 Enabled: true Lint/EmptyInPattern: # new in 1.16 Enabled: true For more information: https://docs.rubocop.org/rubocop/versioning.html ```
1 parent d95509e commit 70dc91b

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

config/default.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -429,6 +429,15 @@ Lint/EachWithObjectArgument:
429429
Lint/ElseLayout:
430430
Enabled: true
431431

432+
Lint/EmptyBlock:
433+
Enabled: false
434+
435+
Lint/EmptyClass:
436+
Enabled: false
437+
438+
Lint/EmptyInPattern:
439+
Enabled: false
440+
432441
Lint/EmptyConditionalBody:
433442
Enabled: false
434443

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy