Open jumanjiman opened 4 years ago
The require-ascii hook fails if it detects unicode.
require-ascii
Current: it makes best-effort to show the offending character along with column/line number. example:
path/to/filename: line 1773 column 39 character "’" (decimal 8217)
Consider: Add option to automatically replace (rewrite) offending characters with ascii equivalent. e.g., replace unicode 8217 with ascii apostrophe.
The
require-ascii
hook fails if it detects unicode.Current: it makes best-effort to show the offending character along with column/line number. example:
Consider: Add option to automatically replace (rewrite) offending characters with ascii equivalent. e.g., replace unicode 8217 with ascii apostrophe.