-
-
Notifications
You must be signed in to change notification settings - Fork 188
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bump ameba to 1.4.0 and fix warnings (#654)
- Loading branch information
Showing
6 changed files
with
21 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,13 +1,24 @@ | ||
# This configuration file was generated by `ameba --gen-config` | ||
# on 2019-08-25 09:29:24 UTC using Ameba version 0.10.0. | ||
# on 2023-01-30 12:35:15 UTC using Ameba version 1.4.0. | ||
# The point is for the user to remove these configuration records | ||
# one by one as the reported problems are removed from the code base. | ||
|
||
# Problems found: 7 | ||
# Problems found: 2 | ||
# Run `ameba --only Lint/UselessAssign` for details | ||
Lint/UselessAssign: | ||
Description: Disallows useless variable assignments | ||
Excluded: | ||
- spec/view_spec.cr | ||
Enabled: true | ||
Severity: Warning | ||
|
||
# Problems found: 6 | ||
# Run `ameba --only Lint/NotNil` for details | ||
Lint/NotNil: | ||
Description: Identifies usage of `not_nil!` calls | ||
Excluded: | ||
- spec/view_spec.cr | ||
- src/kemal/param_parser.cr | ||
- src/kemal/static_file_handler.cr | ||
- src/kemal/config.cr | ||
Enabled: true | ||
Severity: Warning |
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