Allow deletion BOM inside plugin #4050
Labels
area:api
Issues with Prettier's Application Programming Interface
area:plugin api
type:enhancement
A potential new feature to be added, or an improvement to how we print something
Sorry issue template not relevant.
For
php
we havePSR-1
,PSR-2
andPSR-12
standards for code.One of rule about BOM:
Unfortunately we don't have original text of file inside parse method https://github.com/prettier/plugin-php/blob/master/src/parser.js#L4.
Here prettier remove BOM
prettier/index.js
Line 77 in b449a52
prettier/index.js
Line 125 in b449a52
I do not know how to solve this problem better. Maybe:
The text was updated successfully, but these errors were encountered: