Download this file
| 1 | # staticcheck's default set, minus ST1018. |
| 2 | # |
| 3 | # ST1018 asks for Unicode format characters in string literals to be |
| 4 | # written as escapes. The design system's right-to-left translations |
| 5 | # carry U+200E and U+200F marks on purpose - they decide where a Latin |
| 6 | # brand name sits inside Arabic or Hebrew prose - and as escapes |
| 7 | # those strings stop being readable or editable by the translator who |
| 8 | # owns them. "inherit" keeps every other default, including the ones a |
| 9 | # future staticcheck release adds. |
| 10 | checks = ["inherit", "-ST1018"] |
| 11 | |