summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lib/CheckDir.hs2
-rw-r--r--lib/CheckMap.hs4
-rw-r--r--lib/Dirgraph.hs2
-rw-r--r--lib/Properties.hs5
-rw-r--r--lib/Util.hs4
-rw-r--r--lib/WriteRepo.hs2
6 files changed, 10 insertions, 9 deletions
diff --git a/lib/CheckDir.hs b/lib/CheckDir.hs
index 8bf33cf..104fdae 100644
--- a/lib/CheckDir.hs
+++ b/lib/CheckDir.hs
@@ -38,8 +38,8 @@ import Dirgraph (graphToDot, invertGraph, resultToGraph,
import LintConfig (LintConfig', configMaxLintLevel)
import Paths (normalise, normaliseWithFrag)
import System.Directory.Extra (doesFileExist)
-import System.FilePath (splitPath, (</>))
import qualified System.FilePath as FP
+import System.FilePath (splitPath, (</>))
import System.FilePath.Posix (takeDirectory)
import Text.Dot (showDot)
import Types (Dep (Local, LocalMap), Hint (Hint),
diff --git a/lib/CheckMap.hs b/lib/CheckMap.hs
index 279a2c1..a2a0f9f 100644
--- a/lib/CheckMap.hs
+++ b/lib/CheckMap.hs
@@ -32,8 +32,8 @@ import Data.Tiled (Layer (layerLayers, layerName),
import LintConfig (LintConfig (..), LintConfig')
import LintWriter (LintResult, invertLintResult,
resultToAdjusted, resultToBadges,
- resultToDeps, resultToLints, resultToOffers,
- runLintWriter, resultToCWs, resultToJitsis)
+ resultToCWs, resultToDeps, resultToJitsis,
+ resultToLints, resultToOffers, runLintWriter)
import Properties (checkLayer, checkMap, checkTileset)
import System.FilePath (takeFileName)
import Types (Dep (MapLink),
diff --git a/lib/Dirgraph.hs b/lib/Dirgraph.hs
index 57852d0..cc140a3 100644
--- a/lib/Dirgraph.hs
+++ b/lib/Dirgraph.hs
@@ -13,8 +13,8 @@ import qualified Data.Map.Strict as M
import Data.Set ((\\))
import qualified Data.Set as S
import Paths (normalise)
-import Text.Dot (Dot, (.->.))
import qualified Text.Dot as D
+import Text.Dot (Dot, (.->.))
import Types (Dep (LocalMap))
-- | a simple directed graph
diff --git a/lib/Properties.hs b/lib/Properties.hs
index 291827f..ab4cf45 100644
--- a/lib/Properties.hs
+++ b/lib/Properties.hs
@@ -37,8 +37,9 @@ import LayerData (Collision, layerOverlaps)
import LintConfig (LintConfig (..))
import LintWriter (LintWriter, adjust, askContext,
askFileDepth, complain, dependsOn, forbid,
- lintConfig, offersBadge, offersEntrypoint,
- suggest, warn, zoom, offersCWs, offersJitsi)
+ lintConfig, offersBadge, offersCWs,
+ offersEntrypoint, offersJitsi, suggest,
+ warn, zoom)
import Paths (PathResult (..), RelPath (..),
getExtension, isOldStyle, parsePath)
import Types (Dep (Link, Local, LocalMap, MapLink))
diff --git a/lib/Util.hs b/lib/Util.hs
index 5ec1b12..ef35139 100644
--- a/lib/Util.hs
+++ b/lib/Util.hs
@@ -15,8 +15,8 @@ import Universum
import Data.Aeson as Aeson
import qualified Data.Set as S
import qualified Data.Text as T
-import Data.Tiled (Layer, PropertyValue (..),
- Tileset (tilesetName), layerName)
+import Data.Tiled (Layer, PropertyValue (..), Tileset (tilesetName),
+ layerName)
-- | helper function to create proxies
mkProxy :: a -> Proxy a
diff --git a/lib/WriteRepo.hs b/lib/WriteRepo.hs
index 2a62591..af4d4d7 100644
--- a/lib/WriteRepo.hs
+++ b/lib/WriteRepo.hs
@@ -18,8 +18,8 @@ import Paths (normalise)
import System.Directory.Extra (copyFile, createDirectoryIfMissing,
doesDirectoryExist)
import System.Exit (ExitCode (..))
-import System.FilePath (takeDirectory)
import qualified System.FilePath as FP
+import System.FilePath (takeDirectory)
import System.FilePath.Posix ((</>))
import Types (Dep (Local))