Prettier 1.18.2
No playground.
For example using CLI:
Input:
Empty file with unicode BOM
Output:
Empty file with unicode BOM
Expected behavior:
Empty file without unicode BOM
If you add content BOM will be remove.
.editorconfig
# For more information please visit http://editorconfig.org
root = true
[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
Prettier 1.18.2
No playground.
For example using
CLI:Input:
Empty file with unicode BOM
Output:
Empty file with unicode BOM
Expected behavior:
Empty file without unicode BOM
If you add content BOM will be remove.
.editorconfig