Skip to content

Commit bc7793a

Browse files
authored
Disable error-to-raise-arguments-error
I'm not a fan of how this one is turning out in practice. Will have to revisit it in the future.
1 parent fa869d3 commit bc7793a

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

default-recommendations/exception-suggestions.rkt

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66

77
(provide
88
(contract-out
9-
[exception-suggestions refactoring-suite?]))
9+
[exception-suggestions refactoring-suite?]
10+
[disabled-exception-suggestions refactoring-suite?]))
1011

1112

1213
(require racket/string
@@ -68,5 +69,8 @@ conventions."
6869

6970

7071
(define-refactoring-suite exception-suggestions
71-
#:rules (literal-exception-handler-to-lambda
72-
error-to-raise-arguments-error))
72+
#:rules (literal-exception-handler-to-lambda))
73+
74+
75+
(define-refactoring-suite disabled-exception-suggestions
76+
#:rules (error-to-raise-arguments-error))

0 commit comments

Comments
 (0)