Skip to content
Permalink
Browse files

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

…) (#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 8b216e04fb0dd0a1a4d3730ebe4b24780020b09c
Showing with 2 additions and 2 deletions.
  1. +2 −2 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;
```

0 comments on commit 8b216e0

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