-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding ruby linting checks, Fixing some linting issues in drc files
- Loading branch information
1 parent
85a7664
commit 116f741
Showing
9 changed files
with
790 additions
and
853 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# The behavior of RuboCop can be controlled via the .rubocop.yml | ||
# configuration file. It makes it possible to enable/disable | ||
# certain cops (checks) and to alter their behavior if they accept | ||
# any parameters. The file can be placed either in your home | ||
# directory or in some project directory. | ||
# | ||
# RuboCop will start looking for the configuration file in the directory | ||
# where the inspected file is and continue its way up to the root directory. | ||
# | ||
# See https://docs.rubocop.org/rubocop/configuration | ||
|
||
Style/FrozenStringLiteralComment: | ||
Enabled: false | ||
|
||
GlobalVars: | ||
Description: Do not introduce global variables. | ||
Enabled: false | ||
|
||
UselessAssignment: | ||
Description: Useless assignment to variable. | ||
Enabled: false | ||
|
||
Metrics/AbcSize: | ||
Description: Assignment Branch Condition size for conn_space is too high. | ||
Enabled: false | ||
|
||
Metrics/MethodLength: | ||
Description: Method has too many lines. | ||
Enabled: false | ||
|
||
RSpec/VariableName: | ||
Description: Use snake_case for variable names. | ||
EnforcedStyle: "snake_case" | ||
Enabled: false | ||
|
||
Metrics/BlockNesting: | ||
Description: Avoid more than 3 levels of block nesting. | ||
Enabled: false | ||
|
||
AllCops: | ||
Exclude: | ||
- 'env/**/*' | ||
Include: | ||
- '**/*.rb' | ||
- '**/*.drc' |
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.