Skip to content

Commit

Permalink
Create/delete comments
Browse files Browse the repository at this point in the history
  • Loading branch information
hasonsk committed Jan 10, 2025
1 parent d0d5901 commit b6927fa
Show file tree
Hide file tree
Showing 33 changed files with 1,853 additions and 154 deletions.
559 changes: 550 additions & 9 deletions .rubocop.yml

Large diffs are not rendered by default.

86 changes: 86 additions & 0 deletions .rubocop_disabled.yml
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
Loading

0 comments on commit b6927fa

Please sign in to comment.