Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create/delete comments #15

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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