Skip to content

Commit f0e475a

Browse files
authored
Merge pull request #12816 from artur-intech/master
Exclude `Rakefile.rb` from `Naming/FileName` check
2 parents 8720332 + f2debc7 commit f0e475a

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* [#12815](https://github.com/rubocop/rubocop/issues/12815): Ignore `Rakefile.rb` in `Naming/FileName` in the default config. ([@artur-intech][])

config/default.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2774,7 +2774,8 @@ Naming/FileName:
27742774
VersionChanged: '1.23'
27752775
# Camel case file names listed in `AllCops:Include` and all file names listed
27762776
# in `AllCops:Exclude` are excluded by default. Add extra excludes here.
2777-
Exclude: []
2777+
Exclude:
2778+
- Rakefile.rb
27782779
# When `true`, requires that each source file should define a class or module
27792780
# with a name which matches the file name (converted to ... case).
27802781
# It further expects it to be nested inside modules which match the names

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