forked from ThrowTheSwitch/Ceedling
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
More lint fixes + add rubocop.yml from unity
- Loading branch information
1 parent
d8c1fc5
commit ce33f29
Showing
14 changed files
with
105 additions
and
30 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,76 @@ | ||
# This is the configuration used to check the rubocop source code. | ||
|
||
#inherit_from: .rubocop_todo.yml | ||
|
||
AllCops: | ||
TargetRubyVersion: 2.5 | ||
|
||
# These are areas where ThrowTheSwitch's coding style diverges from the Ruby standard | ||
Style/SpecialGlobalVars: | ||
EnforcedStyle: use_perl_names | ||
Style/FormatString: | ||
Enabled: false | ||
Style/GlobalVars: | ||
Enabled: false | ||
Style/FrozenStringLiteralComment: | ||
Enabled: false | ||
Style/RegexpLiteral: | ||
AllowInnerSlashes: true | ||
Style/HashSyntax: | ||
EnforcedStyle: no_mixed_keys | ||
Style/NumericPredicate: | ||
Enabled: false | ||
Style/MultilineBlockChain: | ||
Enabled: false | ||
Style/Alias: | ||
Enabled: false | ||
Style/EvalWithLocation: | ||
Enabled: false | ||
Style/MixinUsage: | ||
Enabled: false | ||
|
||
# These are also places we diverge... but we will likely comply down the road | ||
Style/IfUnlessModifier: | ||
Enabled: false | ||
Style/FormatStringToken: | ||
Enabled: false | ||
|
||
# This is disabled because it seems to get confused over nested hashes | ||
Layout/HashAlignment: | ||
Enabled: false | ||
EnforcedHashRocketStyle: table | ||
EnforcedColonStyle: table | ||
|
||
# We purposefully use these insecure features because they're what makes Ruby awesome | ||
Security/Eval: | ||
Enabled: false | ||
Security/YAMLLoad: | ||
Enabled: false | ||
|
||
# At this point, we're not ready to enforce inline documentation requirements | ||
Style/Documentation: | ||
Enabled: false | ||
Style/DocumentationMethod: | ||
Enabled: false | ||
|
||
# At this point, we're not ready to enforce any metrics | ||
Metrics/AbcSize: | ||
Enabled: false | ||
Metrics/BlockLength: | ||
Enabled: false | ||
Metrics/BlockNesting: | ||
Enabled: false | ||
Metrics/ClassLength: | ||
Enabled: false | ||
Metrics/CyclomaticComplexity: | ||
Enabled: false | ||
Metrics/LineLength: | ||
Enabled: false | ||
Metrics/MethodLength: | ||
Enabled: false | ||
Metrics/ModuleLength: | ||
Enabled: false | ||
Metrics/ParameterLists: | ||
Enabled: false | ||
Metrics/PerceivedComplexity: | ||
Enabled: 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
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
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