diff options
Diffstat (limited to '')
-rw-r--r-- | walint/Badges.hs (renamed from lib/Badges.hs) | 10 | ||||
-rw-r--r-- | walint/CheckDir.hs (renamed from lib/CheckDir.hs) | 5 | ||||
-rw-r--r-- | walint/CheckMap.hs (renamed from lib/CheckMap.hs) | 7 | ||||
-rw-r--r-- | walint/Dirgraph.hs (renamed from lib/Dirgraph.hs) | 5 | ||||
-rw-r--r-- | walint/LayerData.hs (renamed from lib/LayerData.hs) | 0 | ||||
-rw-r--r-- | walint/LintConfig.hs (renamed from lib/LintConfig.hs) | 20 | ||||
-rw-r--r-- | walint/LintWriter.hs (renamed from lib/LintWriter.hs) | 6 | ||||
-rw-r--r-- | walint/Paths.hs (renamed from lib/Paths.hs) | 0 | ||||
-rw-r--r-- | walint/Properties.hs (renamed from lib/Properties.hs) | 17 | ||||
-rw-r--r-- | walint/Types.hs (renamed from lib/Types.hs) | 2 | ||||
-rw-r--r-- | walint/Uris.hs (renamed from lib/Uris.hs) | 3 | ||||
-rw-r--r-- | walint/Util.hs (renamed from lib/Util.hs) | 0 | ||||
-rw-r--r-- | walint/WriteRepo.hs (renamed from lib/WriteRepo.hs) | 5 |
13 files changed, 21 insertions, 59 deletions
diff --git a/lib/Badges.hs b/walint/Badges.hs index d6afc43..9af34b3 100644 --- a/lib/Badges.hs +++ b/walint/Badges.hs @@ -1,9 +1,7 @@ -{-# LANGUAGE DeriveAnyClass #-} -{-# LANGUAGE DeriveGeneric #-} -{-# LANGUAGE DerivingStrategies #-} -{-# LANGUAGE GeneralizedNewtypeDeriving #-} -{-# LANGUAGE OverloadedStrings #-} -{-# LANGUAGE RecordWildCards #-} +{-# LANGUAGE DeriveAnyClass #-} +{-# LANGUAGE DerivingStrategies #-} +{-# LANGUAGE OverloadedStrings #-} +{-# LANGUAGE RecordWildCards #-} -- | module defining Badge types and utility functions module Badges where diff --git a/lib/CheckDir.hs b/walint/CheckDir.hs index 104fdae..c82c54b 100644 --- a/lib/CheckDir.hs +++ b/walint/CheckDir.hs @@ -1,12 +1,7 @@ -{-# LANGUAGE BangPatterns #-} {-# LANGUAGE DataKinds #-} {-# LANGUAGE DeriveAnyClass #-} -{-# LANGUAGE DeriveGeneric #-} -{-# LANGUAGE FlexibleContexts #-} -{-# LANGUAGE FlexibleInstances #-} {-# LANGUAGE LambdaCase #-} {-# LANGUAGE OverloadedStrings #-} -{-# LANGUAGE TupleSections #-} {-# LANGUAGE TypeFamilies #-} {-# LANGUAGE UndecidableInstances #-} diff --git a/lib/CheckMap.hs b/walint/CheckMap.hs index a2a0f9f..ef80a7f 100644 --- a/lib/CheckMap.hs +++ b/walint/CheckMap.hs @@ -1,14 +1,7 @@ -{-# LANGUAGE BangPatterns #-} {-# LANGUAGE DataKinds #-} -{-# LANGUAGE DeriveGeneric #-} -{-# LANGUAGE FlexibleContexts #-} -{-# LANGUAGE FlexibleInstances #-} -{-# LANGUAGE KindSignatures #-} {-# LANGUAGE LambdaCase #-} -{-# LANGUAGE NamedFieldPuns #-} {-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE RecordWildCards #-} -{-# LANGUAGE ScopedTypeVariables #-} {-# LANGUAGE TypeFamilies #-} {-# LANGUAGE UndecidableInstances #-} diff --git a/lib/Dirgraph.hs b/walint/Dirgraph.hs index cc140a3..831933a 100644 --- a/lib/Dirgraph.hs +++ b/walint/Dirgraph.hs @@ -1,6 +1,5 @@ -{-# LANGUAGE FlexibleContexts #-} -{-# LANGUAGE LambdaCase #-} -{-# LANGUAGE TupleSections #-} +{-# LANGUAGE LambdaCase #-} +{-# LANGUAGE TupleSections #-} -- | Simple directed graphs, for dependency checking module Dirgraph where diff --git a/lib/LayerData.hs b/walint/LayerData.hs index 82efbfc..82efbfc 100644 --- a/lib/LayerData.hs +++ b/walint/LayerData.hs diff --git a/lib/LintConfig.hs b/walint/LintConfig.hs index b0fa3b0..8db46dd 100644 --- a/lib/LintConfig.hs +++ b/walint/LintConfig.hs @@ -1,16 +1,10 @@ -{-# LANGUAGE DataKinds #-} -{-# LANGUAGE DeriveAnyClass #-} -{-# LANGUAGE DeriveGeneric #-} -{-# LANGUAGE FlexibleContexts #-} -{-# LANGUAGE FlexibleInstances #-} -{-# LANGUAGE LambdaCase #-} -{-# LANGUAGE MultiParamTypeClasses #-} -{-# LANGUAGE OverloadedStrings #-} -{-# LANGUAGE RecordWildCards #-} -{-# LANGUAGE StandaloneDeriving #-} -{-# LANGUAGE TypeFamilies #-} -{-# LANGUAGE TypeOperators #-} -{-# LANGUAGE UndecidableInstances #-} +{-# LANGUAGE DataKinds #-} +{-# LANGUAGE DeriveAnyClass #-} +{-# LANGUAGE LambdaCase #-} +{-# LANGUAGE OverloadedStrings #-} +{-# LANGUAGE RecordWildCards #-} +{-# LANGUAGE TypeFamilies #-} +{-# LANGUAGE UndecidableInstances #-} -- | Module that deals with handling config options module LintConfig (LintConfig(..), LintConfig', ConfigKind (..), patchConfig,stuffConfig,feedConfig) where diff --git a/lib/LintWriter.hs b/walint/LintWriter.hs index afcec65..40d54bb 100644 --- a/lib/LintWriter.hs +++ b/walint/LintWriter.hs @@ -1,12 +1,6 @@ {-# LANGUAGE DeriveAnyClass #-} -{-# LANGUAGE DeriveFunctor #-} -{-# LANGUAGE DeriveGeneric #-} -{-# LANGUAGE FlexibleContexts #-} -{-# LANGUAGE FlexibleInstances #-} {-# LANGUAGE LambdaCase #-} -{-# LANGUAGE NamedFieldPuns #-} {-# LANGUAGE OverloadedStrings #-} -{-# LANGUAGE RankNTypes #-} {-# LANGUAGE TupleSections #-} {-# OPTIONS_GHC -Wno-missing-signatures #-} diff --git a/lib/Paths.hs b/walint/Paths.hs index f4dc3ed..f4dc3ed 100644 --- a/lib/Paths.hs +++ b/walint/Paths.hs diff --git a/lib/Properties.hs b/walint/Properties.hs index e72bfd0..7b5a181 100644 --- a/lib/Properties.hs +++ b/walint/Properties.hs @@ -1,14 +1,9 @@ -{-# LANGUAGE DataKinds #-} -{-# LANGUAGE FlexibleContexts #-} -{-# LANGUAGE LambdaCase #-} -{-# LANGUAGE MultiWayIf #-} -{-# LANGUAGE NamedFieldPuns #-} -{-# LANGUAGE OverloadedStrings #-} -{-# LANGUAGE RecordWildCards #-} -{-# LANGUAGE ScopedTypeVariables #-} -{-# LANGUAGE TupleSections #-} -{-# LANGUAGE TypeApplications #-} -{-# LANGUAGE TypeFamilies #-} +{-# LANGUAGE DataKinds #-} +{-# LANGUAGE LambdaCase #-} +{-# LANGUAGE MultiWayIf #-} +{-# LANGUAGE OverloadedStrings #-} +{-# LANGUAGE RecordWildCards #-} +{-# LANGUAGE TypeFamilies #-} -- | Contains checks for custom ties of the map json module Properties (checkMap, checkTileset, checkLayer) where diff --git a/lib/Types.hs b/walint/Types.hs index acba99d..746fc00 100644 --- a/lib/Types.hs +++ b/walint/Types.hs @@ -1,7 +1,5 @@ {-# LANGUAGE DeriveAnyClass #-} -{-# LANGUAGE DeriveGeneric #-} {-# LANGUAGE LambdaCase #-} -{-# LANGUAGE NamedFieldPuns #-} {-# LANGUAGE OverloadedStrings #-} diff --git a/lib/Uris.hs b/walint/Uris.hs index 127b7f1..cb15b47 100644 --- a/lib/Uris.hs +++ b/walint/Uris.hs @@ -1,10 +1,7 @@ {-# LANGUAGE DataKinds #-} {-# LANGUAGE DeriveAnyClass #-} -{-# LANGUAGE DeriveGeneric #-} -{-# LANGUAGE LambdaCase #-} {-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE RecordWildCards #-} -{-# LANGUAGE TypeApplications #-} -- | Functions to deal with uris and custom uri schemes module Uris where diff --git a/lib/Util.hs b/walint/Util.hs index ef35139..ef35139 100644 --- a/lib/Util.hs +++ b/walint/Util.hs diff --git a/lib/WriteRepo.hs b/walint/WriteRepo.hs index af4d4d7..325b301 100644 --- a/lib/WriteRepo.hs +++ b/walint/WriteRepo.hs @@ -1,6 +1,5 @@ -{-# LANGUAGE DataKinds #-} -{-# LANGUAGE LambdaCase #-} -{-# LANGUAGE ScopedTypeVariables #-} +{-# LANGUAGE DataKinds #-} +{-# LANGUAGE LambdaCase #-} -- | Module for writing an already linted map Repository back out again. |