Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Docs: fix eslint comment in no-inner-declarations examples (#13152)
  • Loading branch information
mdjermanovic committed Apr 7, 2020
1 parent 301b450 commit 57221d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/rules/no-inner-declarations.md
Expand Up @@ -134,7 +134,7 @@ if (foo) function f(){}
Examples of **correct** code for this rule with the `"both"` option:

```js
/*eslint no-inner-declarations: "error"*/
/*eslint no-inner-declarations: ["error", "both"]*/
/*eslint-env es6*/

var bar = 42;
Expand Down

0 comments on commit 57221d5

Please sign in to comment.