mirror of
https://github.com/CharaChorder/DeviceManager.git
synced 2026-01-20 08:52:59 +00:00
44 lines
664 B
Markdown
44 lines
664 B
Markdown
# unicode-bom
|
|
|
|
> **Warning** This rule is deprecated and will be removed in the future. See [the migration guide](../../../docs/migration-guide/to-15.md).
|
|
|
|
Require or disallow the Unicode Byte Order Mark.
|
|
|
|
## Options
|
|
|
|
`string`: `"always"|"never"`
|
|
|
|
### `"always"`
|
|
|
|
The following pattern is considered a problem:
|
|
|
|
<!-- prettier-ignore -->
|
|
```css
|
|
a {}
|
|
```
|
|
|
|
The following pattern is _not_ considered a problem:
|
|
|
|
<!-- prettier-ignore -->
|
|
```css
|
|
U+FEFF
|
|
a {}
|
|
```
|
|
|
|
### `"never"`
|
|
|
|
The following pattern is considered a problem:
|
|
|
|
<!-- prettier-ignore -->
|
|
```css
|
|
U+FEFF
|
|
a {}
|
|
```
|
|
|
|
The following pattern is _not_ considered a problem:
|
|
|
|
<!-- prettier-ignore -->
|
|
```css
|
|
a {}
|
|
```
|