Skip to content

Commit

Permalink
Merge pull request #205 from unsplash/add-special-char
Browse files Browse the repository at this point in the history
Add special char to allowed list
  • Loading branch information
Magellol authored Apr 23, 2024
2 parents 23f78cb + 3532a08 commit c4604d4
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 c4604d4

Please sign in to comment.