We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5aa4748 commit 3ef5da1Copy full SHA for 3ef5da1
docs/rules/no-magic-numbers.md
@@ -53,7 +53,7 @@ A boolean to specify if numbers used as array indexes are considered okay. `fals
53
The following pattern is considered okay:
54
55
```js
56
-/*eslint no-magic-numbers: 2, { ignoreArrayIndexes: true }*/
+/*eslint no-magic-numbers: [2, {"ignoreArrayIndexes": true }]*/
57
58
var data = ['foo', 'bar', 'baz'];
59
var thirdValue = data[3];
0 commit comments