File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change 51
51
- import Data.Attoparsec.Text
52
52
- import Data.Attoparsec.ByteString
53
53
54
+ - package :
55
+ name : text
56
+ modules :
57
+ - import Data.Text
58
+ - import Data.Text.Encoding
59
+
54
60
- package :
55
61
name : codeworld-api
56
62
modules :
869
875
- warn : {lhs: Data.Attoparsec.Text.option Nothing (Just <$> p), rhs: optional p}
870
876
- warn : {lhs: Data.Attoparsec.ByteString.option Nothing (Just <$> p), rhs: optional p}
871
877
878
+ - group :
879
+ name : text
880
+ enabled : true
881
+ imports :
882
+ - package text
883
+ rules :
884
+ - warn : {lhs: decodeUtf8, rhs: decodeUtf8', name: Avoid decodeUtf8}
885
+
872
886
- group :
873
887
name : generalise
874
888
enabled : false
1235
1249
# issue1183 = (a >= 'a') && (a <= 'z') -- isAsciiLower a
1236
1250
# issue1218 = uncurry (zipWith g) $ (a, b) -- zipWith g a b
1237
1251
1252
+ # import Data.Text
1253
+ # import Data.Text.Encoding
1254
+ # yes = decodeUtf8 -- decodeUtf8'
1255
+
1238
1256
# import Language.Haskell.TH\
1239
1257
# yes = varE 'foo -- [|foo|]
1240
1258
# import Prelude \
You can’t perform that action at this time.
0 commit comments