-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make it a bit more clearer as to what's problematic and what to do intead of those lines of code. Signed-off-by: Utkarsh Gupta <utkarsh@debian.org>
- Loading branch information
1 parent
8f9f396
commit ce31001
Showing
5 changed files
with
22 additions
and
10 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 |
---|---|---|
@@ -1,25 +1,36 @@ | ||
# This is the default configuration file. | ||
|
||
Packaging/BundlerSetupInTests: | ||
Description: 'Avoid using `bundler/setup` in your tests.' | ||
Description: >- | ||
Using `bundler/setup` in tests is redundant. Consider | ||
removing it. | ||
Enabled: true | ||
VersionAdded: '0.4' | ||
VersionChanged: '0.5' | ||
|
||
Packaging/GemspecGit: | ||
Description: 'Use pure Ruby alternative instead of `git ls-files`.' | ||
Description: >- | ||
Using `bundler/setup` in tests is redundant. Consider | ||
Avoid using git to produce lists of files. Downstreams | ||
often need to build your package in an environment | ||
that does not have git (on purpose). Use some pure | ||
Ruby alternative, like `Dir` or `Dir.glob`. | ||
Enabled: true | ||
VersionAdded: '0.1' | ||
VersionChanged: '0.1' | ||
|
||
Packaging/RequireHardcodingLib: | ||
Description: 'Avoid using `require` with relative path to lib.' | ||
Description: >- | ||
Avoid using `require` with relative path to lib. Use | ||
`require` with absolute path instead. | ||
Enabled: true | ||
VersionAdded: '0.4' | ||
VersionChanged: '0.5' | ||
|
||
Packaging/RequireRelativeHardcodingLib: | ||
Description: 'Avoid using `require_relative` with relative path to lib.' | ||
Description: >- | ||
Avoid using `require_relative` with relative path to | ||
lib. Use `require` with absolute path instead. | ||
Enabled: true | ||
VersionAdded: '0.2' | ||
VersionChanged: '0.5' |
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