Remove byte order mark (BOM)
Apache 2.0Removes UTF-8 byte order marks from the beginning of files.
The BOM character (U+FEFF) is generally unnecessary in UTF-8 files and can cause issues with some tools.
org. openrewrite. text. RemoveByteOrderMarkmod run . --recipe= org. openrewrite. text. RemoveByteOrderMarkInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.