Skip to content

Commit

Permalink
Docs: Add explicit default option in "never" examples (fixes eslint#1…
Browse files Browse the repository at this point in the history
  • Loading branch information
BrandonYeager committed Jul 3, 2019
1 parent ad946c7 commit 028f1ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/rules/unicode-bom.md
Expand Up @@ -43,15 +43,15 @@ var abc;
Example of **correct** code for this rule with the default `"never"` option:

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

var abc;
```

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

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

U+FEFF
var abc;
Expand Down

0 comments on commit 028f1ef

Please sign in to comment.