Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- newtype Indentation = Indentation {}
- data StdInOrFiles
- parseStdInOrFiles :: String -> StdInOrFiles
- data LintSettings = LintSettings {
- lint_maxScopeDepth :: !Int
- lint_syntaxErrors :: !Bool
- lint_syntaxInconsistencies :: !Bool
- lint_deprecated :: !Bool
- lint_trailingWhitespace :: !Bool
- lint_whitespaceStyle :: !Bool
- lint_beginnerMistakes :: !Bool
- lint_emptyBlocks :: !Bool
- lint_shadowing :: !Bool
- lint_gotos :: !Bool
- lint_goto_identifier :: !Bool
- lint_doubleNegations :: !Bool
- lint_redundantIfStatements :: !Bool
- lint_redundantParentheses :: !Bool
- lint_duplicateTableKeys :: !Bool
- lint_profanity :: !Bool
- lint_unusedVars :: !Bool
- lint_unusedParameters :: !Bool
- lint_unusedLoopVars :: !Bool
- lint_inconsistentVariableStyle :: !Bool
- lint_spaceBetweenParens :: !Bool
- lint_spaceBetweenBrackets :: !Bool
- lint_spaceBetweenBraces :: !Bool
- lint_spaceBeforeComma :: !Bool
- lint_spaceAfterComma :: !Bool
- lint_maxLineLength :: !Int
- lint_ignoreFiles :: ![String]
- prettyprint_spaceBetweenParens :: !Bool
- prettyprint_spaceBetweenBrackets :: !Bool
- prettyprint_spaceBetweenBraces :: !Bool
- prettyprint_spaceEmptyParens :: !Bool
- prettyprint_spaceEmptyBraces :: !Bool
- prettyprint_spaceAfterLabel :: !Bool
- prettyprint_spaceBeforeComma :: !Bool
- prettyprint_spaceAfterComma :: !Bool
- prettyprint_semicolons :: !Bool
- prettyprint_cStyle :: !Bool
- prettyprint_removeRedundantParens :: !Bool
- prettyprint_minimizeParens :: !Bool
- prettyprint_assumeOperatorAssociativity :: !Bool
- prettyprint_rejectInvalidCode :: !Bool
- prettyprint_indentation :: !String
- log_format :: !LogFormatChoice
- defaultLintSettings :: LintSettings
- lint2ppSetting :: LintSettings -> PrettyPrintConfig
Documentation
newtype Indentation Source #
Indentation used for pretty printing code
Instances
IsString Indentation Source # | |
Defined in GLuaFixer.LintSettings fromString :: String -> Indentation # | |
Show Indentation Source # | |
Defined in GLuaFixer.LintSettings showsPrec :: Int -> Indentation -> ShowS # show :: Indentation -> String # showList :: [Indentation] -> ShowS # |
data StdInOrFiles Source #
Whether a file is read from stdin or from files
Instances
Show StdInOrFiles Source # | |
Defined in GLuaFixer.LintSettings showsPrec :: Int -> StdInOrFiles -> ShowS # show :: StdInOrFiles -> String # showList :: [StdInOrFiles] -> ShowS # |
parseStdInOrFiles :: String -> StdInOrFiles Source #
Convert a string to StdInOrFiles
data LintSettings Source #
Instances
FromJSON LintSettings Source # | |
Defined in GLuaFixer.LintSettings parseJSON :: Value -> Parser LintSettings # parseJSONList :: Value -> Parser [LintSettings] # | |
ToJSON LintSettings Source # | |
Defined in GLuaFixer.LintSettings toJSON :: LintSettings -> Value # toEncoding :: LintSettings -> Encoding # toJSONList :: [LintSettings] -> Value # toEncodingList :: [LintSettings] -> Encoding # | |
Show LintSettings Source # | |
Defined in GLuaFixer.LintSettings showsPrec :: Int -> LintSettings -> ShowS # show :: LintSettings -> String # showList :: [LintSettings] -> ShowS # |