Skip to content
Permalink
Browse files

Docs: Fix incorrect example comments (fixes eslint#11937)

  • Loading branch information...
BrandonYeager committed Jul 3, 2019
1 parent cc3885b commit 640195ccf794ba2be26607bbf9ac985ae8fd2b4b
Showing with 4 additions and 4 deletions.
  1. +4 −4 docs/rules/unicode-bom.md
@@ -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;
@@ -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;
```
@@ -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;

0 comments on commit 640195c

Please sign in to comment.
You can’t perform that action at this time.