Skip to content

Commit

Permalink
Add "✓" as accepted char
Browse files Browse the repository at this point in the history
Our vendor had no issues with it
  • Loading branch information
Magellol committed Apr 22, 2024
1 parent 23f78cb commit 3532a08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Intlc/Linter.hs
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ interpolationsRule ast = fmap (pure . (start,)) . count . idents $ ast where
-- we've established are safe for use with our vendor's tool.
isAcceptedChar :: Char -> Bool
isAcceptedChar c = isAscii c || c `elem` acceptedChars
where acceptedChars = ['','','é','','ƒ','','','']
where acceptedChars = ['','','é','','ƒ','','','','']

unsupportedUnicodeRule :: Rule AnnLint
unsupportedUnicodeRule = nonEmpty . nonAscii where
Expand Down

0 comments on commit 3532a08

Please sign in to comment.