mirror of
https://github.com/jfmengels/elm-review.git
synced 2024-09-11 16:16:09 +03:00
Add FindFixHelpResult
This commit is contained in:
parent
ff23591d9c
commit
ec2a25a373
@ -5119,6 +5119,11 @@ findFix reviewOptions project rule errors fixedErrors maybeModuleZipper =
|
||||
)
|
||||
|
||||
|
||||
type FindFixHelpResult
|
||||
= FoundNoFixesHelp (List (Error {}))
|
||||
| FoundFixHelp ( List (Error {}), { project : ValidProject, fixedFile : FixedFile, error : ReviewError } )
|
||||
|
||||
|
||||
findFixHelp :
|
||||
ValidProject
|
||||
-> ({ ruleName : String, filePath : String, message : String, details : List String, range : Range } -> Bool)
|
||||
|
Loading…
Reference in New Issue
Block a user