summaryrefslogtreecommitdiff
path: root/lib/LintConfig.hs
diff options
context:
space:
mode:
authorstuebinm2021-11-14 03:17:10 +0100
committerstuebinm2021-11-14 03:17:10 +0100
commit0e5951eedebd2f0d3991454f7bcaf5f7f749cb06 (patch)
tree12678cc1fd69abdd38e0cf2633b2c05df252631e /lib/LintConfig.hs
parent52b73711fc21e121267318677840a54fbe174b10 (diff)
config option: don't copy asset files
Diffstat (limited to '')
-rw-r--r--lib/LintConfig.hs9
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/LintConfig.hs b/lib/LintConfig.hs
index 1493fe2..1b1b1bc 100644
--- a/lib/LintConfig.hs
+++ b/lib/LintConfig.hs
@@ -30,9 +30,10 @@ type family HKD f a where
HKD f a = f a
data LintConfig f = LintConfig
- { configScriptInject :: HKD f (Maybe Text)
- , configAssemblyTag :: HKD f Text
- , configMaxWarnLevel :: HKD f Level
+ { configScriptInject :: HKD f (Maybe Text)
+ , configAssemblyTag :: HKD f Text
+ , configMaxWarnLevel :: HKD f Level
+ , configDontCopyAssets :: HKD f Bool
} deriving (Generic)
type LintConfig' = LintConfig Identity
@@ -43,6 +44,7 @@ deriving instance
, Show (HKD a Text)
, Show (HKD a Level)
, Show (HKD a [Text])
+ , Show (HKD a Bool)
)
=> Show (LintConfig a)
@@ -58,6 +60,7 @@ instance
, FromJSON (HKD a [Text])
, FromJSON (HKD a Text)
, FromJSON (HKD a Level)
+ , FromJSON (HKD a Bool)
)
=> FromJSON (LintConfig a)
where