-
-
Notifications
You must be signed in to change notification settings - Fork 8
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
1 parent
6792c6c
commit 4c55db6
Showing
9 changed files
with
368 additions
and
123 deletions.
There are no files selected for viewing
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,68 @@ | ||
require: | ||
- rubocop-minitest | ||
- rubocop-rails | ||
|
||
inherit_gem: | ||
rubocop-shopify: rubocop.yml | ||
|
||
Style/FrozenStringLiteralComment: | ||
Enabled: true | ||
# SafeAutoCorrect: false | ||
|
||
Minitest/AssertPredicate: | ||
Enabled: false | ||
# 1. Hace más largo el assert porque transforma `assert caso.valid?` en | ||
# `assert_predicate caso, :valid?` | ||
# 2. EMHO no facilita legibilidad | ||
# 3. No es homogéneo, no transforma `assert_not caso.valid?` | ||
# La ventaja de assert_predicate es que presenta mejor | ||
# mensaje de error cuando la aserción falla. | ||
|
||
Minitest/MultipleAssertions: | ||
Enabled: false | ||
|
||
Rails/ApplicationRecord: | ||
Enabled: false | ||
|
||
Rails/LexicallyScopedActionFilter: | ||
Enabled: false | ||
|
||
Rails/SquishedSQLHeredocs: | ||
Enabled: false | ||
|
||
Rails/OutputSafety: | ||
Exclude: | ||
- lib/msip/engine.rb | ||
- app/helpers/msip/* | ||
|
||
Rails/Exit: | ||
Exclude: | ||
- lib/generators/msip/* | ||
|
||
Rails/Output: | ||
Exclude: | ||
- lib/generators/msip/* | ||
|
||
# En generadores Rails.root es nil | ||
Rails/FilePath: | ||
Exclude: | ||
- lib/msip/engine.rb | ||
|
||
Lint/RedundantStringCoercion: | ||
Exclude: | ||
- lib/msip/engine.rb | ||
|
||
Rails/RenderInline: | ||
Enabled: false | ||
|
||
Naming/AsciiIdentifiers: | ||
Enabled: false | ||
|
||
Metrics/ParameterLists: | ||
Enabled: false | ||
|
||
AllCops: | ||
NewCops: enable | ||
SuggestExtensions: false | ||
|
||
|
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
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
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
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
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
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
Oops, something went wrong.