Skip to content

Commit

Permalink
Docs: Fix incorrect example comments for unicode-bom rule (fixes esli…
Browse files Browse the repository at this point in the history
  • Loading branch information
BrandonYeager committed Jul 3, 2019
1 parent cc3885b commit ad946c7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/rules/unicode-bom.md
Expand Up @@ -24,7 +24,7 @@ This rule has a string option:
Example of **correct** code for this rule with the `"always"` option:

```js
/*eslint unicode-bom: "error"*/
/*eslint unicode-bom: ["error", "always"]*/

U+FEFF
var abc;
Expand All @@ -33,7 +33,7 @@ var abc;
Example of **incorrect** code for this rule with the `"always"` option:

```js
/*eslint unicode-bom: "error"*/
/*eslint unicode-bom: ["error", "always"]*/

var abc;
```
Expand All @@ -43,15 +43,15 @@ var abc;
Example of **correct** code for this rule with the default `"never"` option:

```js
/*eslint unicode-bom: ["error", "never"]*/
/*eslint unicode-bom: "error"*/

var abc;
```

Example of **incorrect** code for this rule with the `"never"` option:

```js
/*eslint unicode-bom: ["error", "never"]*/
/*eslint unicode-bom: "error"*/

U+FEFF
var abc;
Expand Down

0 comments on commit ad946c7

Please sign in to comment.