You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Bump rubocop to v1.85.0
* Autocorrect offenses
* Reorder Style rules alphabetically
* Skip this rule for specific files
These files are scripts/test files that make sense
to have all classes being defined together.
* Pin public_suffix to satisfy ruby 3.1 dependencies
* Pin json-schema to satisfy ruby 3.1 dependencies
Description: This cop checks for a consistent style for named format string tokens.
91
+
Enabled: false
92
+
93
+
Style/FrozenStringLiteralComment:
94
+
Description: Add the frozen_string_literal comment to the top of files to help transition from Ruby 2.3.0 to Ruby 3.0.
95
+
96
+
Style/IfUnlessModifier:
97
+
Description: Checks for `if` and `unless` statements that would fit on one line if written as modifier `if`/`unless`. The cop also checks for modifier `if`/`unless` lines that exceed the maximum line length.
98
+
Enabled: false
99
+
100
+
Style/MultipleComparison:
101
+
Description: Avoid comparing a variable with multiple items in a conditional, use Array#include? instead.
102
+
Enabled: false
103
+
96
104
Style/NumericLiteralPrefix:
97
105
Enabled: false
98
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
+
99
115
Style/RegexpLiteral:
100
116
Description: Use / or %r around regular expressions.
Description: Checks for `if` and `unless` statements that would fit on one line if written as modifier `if`/`unless`. The cop also checks for modifier `if`/`unless` lines that exceed the maximum line length.
112
-
Enabled: false
113
-
114
-
Style/MultipleComparison:
115
-
Description: Avoid comparing a variable with multiple items in a conditional, use Array#include? instead.
0 commit comments