跳到主要内容

unicode-bom

Warning

This rule is deprecated and will be removed in the future. See the migration guide.

Require or disallow the Unicode Byte Order Mark.

Options

string: "always"|"never"

"always"

The following pattern is considered a problem:

a {}

The following pattern is not considered a problem:

U+FEFF
a {}

"never"

The following pattern is considered a problem:

U+FEFF
a {}

The following pattern is not considered a problem:

a {}