Skip to content

Commit

Permalink
Merge pull request #4 from wundertax/new-release
Browse files Browse the repository at this point in the history
remove cops overriding
  • Loading branch information
nic-lan authored Mar 1, 2019
2 parents 7cecc5a + 4794b7d commit 9cfaa0d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 30 deletions.
15 changes: 0 additions & 15 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1 @@
inherit_from: ./config/default.yml

Naming/FileName:
Enabled: false

Naming/MemoizedInstanceVariableName:
EnforcedStyleForLeadingUnderscores: optional

Metrics/BlockLength:
Exclude:
- !ruby/regexp /_spec\.rb$/
- !ruby/regexp /\.gemspec$/

Layout/IndentHeredoc:
Exclude:
- !ruby/regexp /_generator\.rb$/
28 changes: 13 additions & 15 deletions config/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -978,7 +978,7 @@ Lint/FormatParameterMismatch:
Enabled: true

Lint/HandleExceptions:
Enabled: true
Enabled: false

Lint/ImplicitStringConcatenation:
Description: Checks for adjacent string literals on the same line, which could
Expand Down Expand Up @@ -1158,14 +1158,6 @@ Style/TrailingBodyOnClass:
Style/TrailingBodyOnModule:
Enabled: true

Style/TrailingCommaInArrayLiteral:
EnforcedStyleForMultiline: comma
Enabled: true

Style/TrailingCommaInHashLiteral:
EnforcedStyleForMultiline: comma
Enabled: true

Layout/SpaceInsideReferenceBrackets:
EnforcedStyle: no_space
EnforcedStyleForEmptyBrackets: no_space
Expand All @@ -1177,10 +1169,19 @@ Style/ModuleFunction:
Lint/OrderedMagicComments:
Enabled: true

Style/FrozenStringLiteralComment:
Enabled: false
Naming/MemoizedInstanceVariableName:
EnforcedStyleForLeadingUnderscores: optional

Lint/HandleExceptions:
Metrics/BlockLength:
Exclude:
- !ruby/regexp /_spec\.rb$/
- !ruby/regexp /\.gemspec$/

Layout/IndentHeredoc:
Exclude:
- !ruby/regexp /_generator\.rb$/

Style/FrozenStringLiteralComment:
Enabled: false

Style/GlobalVars:
Expand All @@ -1194,6 +1195,3 @@ Style/TrailingCommaInArrayLiteral:

Style/TrailingCommaInHashLiteral:
Enabled: false

Performance/RedundantBlockCall:
Enabled: false

0 comments on commit 9cfaa0d

Please sign in to comment.