glualint-1.24.6: Attempts to fix your syntax erroring Lua files.
Safe HaskellSafe-Inferred
LanguageHaskell2010

GLuaFixer.LintMessage

Synopsis

Documentation

data LogFormat Source #

Output formats for logging

Instances

Instances details
ToJSON LogFormat Source # 
Instance details

Defined in GLuaFixer.LintMessage

Show LogFormat Source # 
Instance details

Defined in GLuaFixer.LintMessage

data Severity Source #

Constructors

LintWarning 
LintError 

Instances

Instances details
Eq Severity Source # 
Instance details

Defined in GLuaFixer.LintMessage

data RemoveOrAddSpace Source #

With the Space(Before|After)(Parenthesis|Bracket|Brace), it depends on the pretty print settings whether the space is desired or not. This encodes what we ask the user to do.

Constructors

RemoveSpace 
AddSpace 

Instances

Instances details
Eq RemoveOrAddSpace Source # 
Instance details

Defined in GLuaFixer.LintMessage

data Issue Source #

Representation of the different kinds of issues that can be raised. Many of the arguments are Value, because this data type is a rewrite of what was previously directly rendered Strings. Many of these Strings can later be rewritten to their own types if necessary.

Instances

Instances details
Eq Issue Source # 
Instance details

Defined in GLuaFixer.LintMessage

Methods

(==) :: Issue -> Issue -> Bool #

(/=) :: Issue -> Issue -> Bool #

data LintMessage Source #

Represents lint messages

Instances

Instances details
Show LintMessage Source # 
Instance details

Defined in GLuaFixer.LintMessage

Eq LintMessage Source # 
Instance details

Defined in GLuaFixer.LintMessage

issueTitle :: Issue -> String Source #

Shorthand title of an issue. Several issues may share the same title.

sortLintMessages :: [LintMessage] -> [LintMessage] Source #

Sort lint messages on file and then region