We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a3db7e commit 064e962Copy full SHA for 064e962
.rubocop.yml
@@ -104,6 +104,14 @@ Style/MultipleComparison:
104
Style/NumericLiteralPrefix:
105
Enabled: false
106
107
+Style/OneClassPerFile:
108
+ Description: Checks that each source file defines at most one top-level class or module.
109
+ Exclude:
110
+ - 'script/txt2html'
111
+ - 'test/helpers/test_faker_deprecator.rb'
112
+ - 'test/test_faker.rb'
113
+ - 'test/test_flexible.rb'
114
+
115
Style/RegexpLiteral:
116
Description: Use / or %r around regular expressions.
117
StyleGuide: https://github.com/rubocop-hq/ruby-style-guide#percent-r
0 commit comments