Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add
Lint/TrailingRescueException
(#512)
* Add Lint/TrailingRescueException This prevents the use of Paths as the default value for a trailing exception, and recommends the user use the block rescue instead to be able to filter by exception type * Update src/ameba/rule/lint/trailing_rescue_exception.cr Co-authored-by: Sijawusz Pur Rahnama <[email protected]> * Update spec/ameba/rule/lint/trailing_rescue_exception_spec.cr Co-authored-by: Sijawusz Pur Rahnama <[email protected]> * Update src/ameba/rule/lint/trailing_rescue_exception.cr Co-authored-by: Sijawusz Pur Rahnama <[email protected]> * Update src/ameba/rule/lint/trailing_rescue_exception.cr Co-authored-by: Sijawusz Pur Rahnama <[email protected]> * Update src/ameba/rule/lint/trailing_rescue_exception.cr Co-authored-by: Sijawusz Pur Rahnama <[email protected]> * Update docs for `Lint/TrailingRescueException` --------- Co-authored-by: Sijawusz Pur Rahnama <[email protected]>
- Loading branch information