fix-whitespace 0.0.10 → 0.0.11
raw patch · 7 files changed
+20/−12 lines, 7 files
Files
- CHANGELOG.md +6/−0
- FixWhitespace.hs +1/−1
- fix-whitespace.cabal +5/−3
- stack-9.0.2.yaml +1/−4
- stack-9.2.4.yaml +1/−4
- stack-9.2.5.yaml +3/−0
- stack-9.4.3.yaml +3/−0
CHANGELOG.md view
@@ -2,6 +2,12 @@ Version history. +## 0.0.11 Santa Clause edition released 2022-12-06++- Delete trailing tabs even when `--tab=0`+ [#42](https://github.com/agda/fix-whitespace/issues/42)+- Tested with GHC 8.0.2 - 9.4.3.+ ## 0.0.10 released 2022-08-21 - Symlink problem
FixWhitespace.hs view
@@ -271,7 +271,7 @@ reverse . dropWhile1 Text.null . reverse removeTrailingWhitespace =- Text.dropWhileEnd ((`elem` [Space,Format]) . generalCategory)+ Text.dropWhileEnd $ \ c -> generalCategory c `elem` [Space,Format] || c == '\t' convertTabs = if tabSize <= 0 then id else Text.pack . reverse . fst . foldl convertOne ([], 0) . Text.unpack
fix-whitespace.cabal view
@@ -1,5 +1,5 @@ name: fix-whitespace-version: 0.0.10+version: 0.0.11 cabal-version: 1.24 build-type: Simple description: Removes trailing whitespace, lines containing only whitespace, expands tabs,@@ -13,8 +13,8 @@ Category: Text Synopsis: Fixes whitespace issues. tested-with:- GHC == 9.4.1- GHC == 9.2.4+ GHC == 9.4.3+ GHC == 9.2.5 GHC == 9.0.2 GHC == 8.10.7 GHC == 8.8.4@@ -35,6 +35,8 @@ stack-8.10.7.yaml stack-9.0.2.yaml stack-9.2.4.yaml+ stack-9.2.5.yaml+ stack-9.4.3.yaml source-repository head type: git
stack-9.0.2.yaml view
@@ -1,6 +1,3 @@-resolver: lts-19.20+resolver: lts-19.33 compiler: ghc-9.0.2 compiler-check: match-exact--extra-deps:- - filepattern-0.1.3
stack-9.2.4.yaml view
@@ -1,6 +1,3 @@-resolver: nightly-2022-08-19+resolver: nightly-2022-11-12 compiler: ghc-9.2.4 compiler-check: match-exact--extra-deps:- - filepattern-0.1.3
+ stack-9.2.5.yaml view
@@ -0,0 +1,3 @@+resolver: lts-20.3+compiler: ghc-9.2.5+compiler-check: match-exact
+ stack-9.4.3.yaml view
@@ -0,0 +1,3 @@+resolver: nightly-2022-12-05+compiler: ghc-9.4.3+compiler-check: match-exact