Skip to content

Commit

Permalink
Docs: Fix incorrect example comments for unicode-bom rule (fixes #11937
Browse files Browse the repository at this point in the history
…) (#11938)

* Docs: Fix incorrect example comments for unicode-bom rule (fixes #11937)

* Docs: Add explicit default option in "never" examples (fixes #11937)
  • Loading branch information
BrandonYeager authored and platinumazure committed Jul 3, 2019
1 parent cc3885b commit 8b216e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 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 Down

0 comments on commit 8b216e0

Please sign in to comment.