-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
33 changed files
with
1,853 additions
and
154 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
# These are all the cops that are disabled in the default configuration. | ||
|
||
Style/FrozenStringLiteralComment: | ||
Description: >- | ||
Add the frozen_string_literal comment to the top of files | ||
to help transition from Ruby 2.3.0 to Ruby 3.0. | ||
Enabled: false | ||
|
||
Style/InlineComment: | ||
Description: "Avoid inline comments." | ||
Enabled: false | ||
|
||
Style/MethodCalledOnDoEndBlock: | ||
Description: "Avoid chaining a method call on a do...end block." | ||
Enabled: false | ||
|
||
Style/SymbolArray: | ||
Description: "Use %i or %I for arrays of symbols." | ||
Enabled: false | ||
|
||
Style/Documentation: | ||
Description: "Document classes and non-namespace modules." | ||
Enabled: false | ||
|
||
Layout/EmptyLinesAroundAccessModifier: | ||
Description: "Keep blank lines around access modifiers." | ||
Enabled: false | ||
|
||
Style/EmptyLiteral: | ||
Description: "Prefer literals to Array.new/Hash.new/String.new." | ||
Enabled: false | ||
|
||
Style/ClassAndModuleChildren: | ||
Description: "Checks style of children classes and modules." | ||
Enabled: false | ||
|
||
Metrics/ClassLength: | ||
Description: "Avoid classes longer than 100 lines of code." | ||
Enabled: false | ||
|
||
Metrics/MethodLength: | ||
Description: "Avoid methods longer than 10 lines of code." | ||
Enabled: false | ||
|
||
Metrics/ParameterLists: | ||
Description: "Avoid parameter lists longer than three or four parameters." | ||
Enabled: false | ||
|
||
Metrics/CyclomaticComplexity: | ||
Description: "Avoid complex methods." | ||
Enabled: false | ||
|
||
Layout/ArrayAlignment: | ||
Description: >- | ||
Align the elements of an array literal if they span more than | ||
one line. | ||
Enabled: false | ||
|
||
Style/RedundantPercentQ: | ||
Description: "Checks for %q/%Q when single quotes or double quotes would do." | ||
Enabled: false | ||
|
||
Naming/AccessorMethodName: | ||
Description: Check the naming of accessor methods for get_/set_. | ||
Enabled: false | ||
|
||
#################### Lint ################################ | ||
### Warnings | ||
Lint/AssignmentInCondition: | ||
Description: "Don't use assignment in conditions." | ||
Enabled: false | ||
|
||
Rails/HelperInstanceVariable: | ||
Description: "Do not use instance variables in helpers" | ||
Enabled: false | ||
|
||
Rails/InverseOf: | ||
Description: "Prevent fetching loaded data again through a relationship." | ||
Enabled: false | ||
|
||
Rails/ReflectionClassName: | ||
Description: "Use a string for `class_name` option value in the definition of a reflection." | ||
Enabled: false | ||
|
||
Rails/SkipsModelValidations: | ||
Enabled: false |
Oops, something went wrong.