import-style-plugin-0.1.0.0: Helps maintain consistency of imports
Safe HaskellSafe-Inferred
LanguageHaskell2010

ImportStylePlugin.Config

Synopsis

Documentation

data Severity Source #

Report either error or warning during compilation

Constructors

Error 
Warning 

Instances

Instances details
FromJSON Severity Source # 
Instance details

Defined in ImportStylePlugin.Config

Generic Severity Source # 
Instance details

Defined in ImportStylePlugin.Config

Associated Types

type Rep Severity :: Type -> Type #

Methods

from :: Severity -> Rep Severity x #

to :: Rep Severity x -> Severity #

Show Severity Source # 
Instance details

Defined in ImportStylePlugin.Config

type Rep Severity Source # 
Instance details

Defined in ImportStylePlugin.Config

type Rep Severity = D1 ('MetaData "Severity" "ImportStylePlugin.Config" "import-style-plugin-0.1.0.0-3mKWth6FJwSHdIC44LJva5" 'False) (C1 ('MetaCons "Error" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Warning" 'PrefixI 'False) (U1 :: Type -> Type))

data Qualification Source #

Constructors

Required 
Forbidden 

Instances

Instances details
FromJSON Qualification Source # 
Instance details

Defined in ImportStylePlugin.Config

Generic Qualification Source # 
Instance details

Defined in ImportStylePlugin.Config

Associated Types

type Rep Qualification :: Type -> Type #

Show Qualification Source # 
Instance details

Defined in ImportStylePlugin.Config

type Rep Qualification Source # 
Instance details

Defined in ImportStylePlugin.Config

type Rep Qualification = D1 ('MetaData "Qualification" "ImportStylePlugin.Config" "import-style-plugin-0.1.0.0-3mKWth6FJwSHdIC44LJva5" 'False) (C1 ('MetaCons "Required" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Forbidden" 'PrefixI 'False) (U1 :: Type -> Type))

data ImportRule Source #

Constructors

ImportRule 

Fields

Instances

Instances details
FromJSON ImportRule Source # 
Instance details

Defined in ImportStylePlugin.Config

Generic ImportRule Source # 
Instance details

Defined in ImportStylePlugin.Config

Associated Types

type Rep ImportRule :: Type -> Type #

Show ImportRule Source # 
Instance details

Defined in ImportStylePlugin.Config

type Rep ImportRule Source # 
Instance details

Defined in ImportStylePlugin.Config

type Rep ImportRule = D1 ('MetaData "ImportRule" "ImportStylePlugin.Config" "import-style-plugin-0.1.0.0-3mKWth6FJwSHdIC44LJva5" 'False) (C1 ('MetaCons "ImportRule" 'PrefixI 'True) (S1 ('MetaSel ('Just "qualification") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Qualification)) :*: (S1 ('MetaSel ('Just "aliases") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe ModuleAliases)) :*: S1 ('MetaSel ('Just "importedNames") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe NamesList)))))

data QualificationStyle Source #

Constructors

Post 
Pre 

Instances

Instances details
FromJSON QualificationStyle Source # 
Instance details

Defined in ImportStylePlugin.Config

Generic QualificationStyle Source # 
Instance details

Defined in ImportStylePlugin.Config

Associated Types

type Rep QualificationStyle :: Type -> Type #

Show QualificationStyle Source # 
Instance details

Defined in ImportStylePlugin.Config

type Rep QualificationStyle Source # 
Instance details

Defined in ImportStylePlugin.Config

type Rep QualificationStyle = D1 ('MetaData "QualificationStyle" "ImportStylePlugin.Config" "import-style-plugin-0.1.0.0-3mKWth6FJwSHdIC44LJva5" 'False) (C1 ('MetaCons "Post" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Pre" 'PrefixI 'False) (U1 :: Type -> Type))

data ImportRules Source #

Constructors

ImportRules 

Instances

Instances details
FromJSON ImportRules Source # 
Instance details

Defined in ImportStylePlugin.Config

Generic ImportRules Source # 
Instance details

Defined in ImportStylePlugin.Config

Associated Types

type Rep ImportRules :: Type -> Type #

Show ImportRules Source # 
Instance details

Defined in ImportStylePlugin.Config

type Rep ImportRules Source # 
Instance details

Defined in ImportStylePlugin.Config

type Rep ImportRules = D1 ('MetaData "ImportRules" "ImportStylePlugin.Config" "import-style-plugin-0.1.0.0-3mKWth6FJwSHdIC44LJva5" 'False) (C1 ('MetaCons "ImportRules" 'PrefixI 'True) (S1 ('MetaSel ('Just "rules") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [ImportRule]) :*: S1 ('MetaSel ('Just "severity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Severity)))

data Ban Source #

Constructors

Ban 

Fields

Instances

Instances details
FromJSON Ban Source # 
Instance details

Defined in ImportStylePlugin.Config

Generic Ban Source # 
Instance details

Defined in ImportStylePlugin.Config

Associated Types

type Rep Ban :: Type -> Type #

Methods

from :: Ban -> Rep Ban x #

to :: Rep Ban x -> Ban #

Show Ban Source # 
Instance details

Defined in ImportStylePlugin.Config

Methods

showsPrec :: Int -> Ban -> ShowS #

show :: Ban -> String #

showList :: [Ban] -> ShowS #

type Rep Ban Source # 
Instance details

Defined in ImportStylePlugin.Config

type Rep Ban = D1 ('MetaData "Ban" "ImportStylePlugin.Config" "import-style-plugin-0.1.0.0-3mKWth6FJwSHdIC44LJva5" 'False) (C1 ('MetaCons "Ban" 'PrefixI 'True) (S1 ('MetaSel ('Just "severity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Severity) :*: S1 ('MetaSel ('Just "why") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String)))

data ImportsStyle Source #

Instances

Instances details
FromJSON ImportsStyle Source # 
Instance details

Defined in ImportStylePlugin.Config

Generic ImportsStyle Source # 
Instance details

Defined in ImportStylePlugin.Config

Associated Types

type Rep ImportsStyle :: Type -> Type #

Show ImportsStyle Source # 
Instance details

Defined in ImportStylePlugin.Config

type Rep ImportsStyle Source # 
Instance details

Defined in ImportStylePlugin.Config

type Rep ImportsStyle = D1 ('MetaData "ImportsStyle" "ImportStylePlugin.Config" "import-style-plugin-0.1.0.0-3mKWth6FJwSHdIC44LJva5" 'False) (C1 ('MetaCons "ImportsStyle" 'PrefixI 'True) (S1 ('MetaSel ('Just "qualificationStyle") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe QualificationStyle)) :*: (S1 ('MetaSel ('Just "bannedModules") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Map ModuleName Ban)) :*: S1 ('MetaSel ('Just "importRules") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Map ModuleName ImportRules)))))