Open
Description
Most style decisions are explained in the readme, but I couldn't find the reasoning on why a BOM is considered bad. Where I've looked:
- the patch that enabled it, found no commit message body.
- the current code of the rules file,
javascript/packages/eslint-config-airbnb-base/rules/style.js
Lines 472 to 474 in 8cf2c70
- the eslint rule page mentioned in the patch code comment, doesn't claim it's bad.
- searched the readme for "BOM", "unicode" and "byte order"
- searched issue tracker for "BOM", "unicode" and "byte order"
Could someone explain it, or add search keywords to make the explanation easier to find?
Update: Also, is there a recommendation on how to declare the file encoding instead? I searched the readme for "charset", "encod" and "character set" but no matches.