|
| 1 | +plugins: |
| 2 | + - rubocop-performance |
| 3 | + |
1 | 4 | AllCops: |
2 | 5 | TargetRubyVersion: 3.1 |
3 | 6 | NewCops: enable |
@@ -221,3 +224,79 @@ Layout/MultilineMethodCallIndentation: |
221 | 224 | # Enforced by standard. Disable. |
222 | 225 | Layout/CaseIndentation: |
223 | 226 | Enabled: false |
| 227 | + |
| 228 | +# Standard rules. Lint: |
| 229 | + |
| 230 | +# Enforced by standard. Disable. |
| 231 | +Lint/ImplicitStringConcatenation: |
| 232 | + Enabled: false |
| 233 | + |
| 234 | +# Enforced by standard. Disable. |
| 235 | +Lint/TripleQuotes: |
| 236 | + Enabled: false |
| 237 | + |
| 238 | +# Enforced by standard. Disable. |
| 239 | +Lint/IneffectiveAccessModifier: |
| 240 | + Enabled: false |
| 241 | + |
| 242 | +# Enforced by standard. Disable. |
| 243 | +Lint/SymbolConversion: |
| 244 | + Enabled: false |
| 245 | + |
| 246 | +# Enforced by rubocop and standard |
| 247 | +Lint/CopDirectiveSyntax: |
| 248 | + Enabled: true |
| 249 | + |
| 250 | +# Enforced by standard. Disable. |
| 251 | +Lint/DuplicateMethods: |
| 252 | + Enabled: false |
| 253 | + |
| 254 | +# Enforced by standard. Disable. |
| 255 | +Lint/ConstantDefinitionInBlock: |
| 256 | + Enabled: false |
| 257 | + |
| 258 | +# Enforced by standard. Disable. |
| 259 | +Lint/UselessTimes: |
| 260 | + Enabled: false |
| 261 | + |
| 262 | +# Standard-performance rules. |
| 263 | + |
| 264 | +# Enforced by standard-performance. Disable. |
| 265 | +Performance/Detect: |
| 266 | + Enabled: false |
| 267 | + |
| 268 | +# Enforced by standard-performance. Disable. |
| 269 | +Performance/StringIdentifierArgument: |
| 270 | + Enabled: false |
| 271 | + |
| 272 | +# Enforced by standard-performance. Disable. |
| 273 | +Performance/RegexpMatch: |
| 274 | + Enabled: false |
| 275 | + |
| 276 | +# Always enable rubocop Security: |
| 277 | + |
| 278 | +# Enforced by rubocop and standard |
| 279 | +Security/JSONLoad: |
| 280 | + Enabled: true |
| 281 | + |
| 282 | +# Our rubocop rules |
| 283 | + |
| 284 | +Bundler/OrderedGems: |
| 285 | + Enabled: false |
| 286 | + |
| 287 | +Gemspec/OrderedDependencies: |
| 288 | + Enabled: false |
| 289 | + |
| 290 | +# Don't allow %i[foo bar baz] |
| 291 | +Style/SymbolArray: |
| 292 | + Enabled: true |
| 293 | + EnforcedStyle: brackets |
| 294 | + |
| 295 | +# Don't allow %w[foo bar baz] |
| 296 | +Style/WordArray: |
| 297 | + Enabled: true |
| 298 | + EnforcedStyle: brackets |
| 299 | + |
| 300 | +# Disable warnings like "Missing top-level documentation comment for" |
| 301 | +Style/Documentation: |
| 302 | + Enabled: false |
0 commit comments