Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Docs: Fix wrong rule name (#13913)
  • Loading branch information
noisyboy25 committed Dec 12, 2020
1 parent 06b5809 commit 2124e1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/rules/array-element-newline.md
Expand Up @@ -330,7 +330,7 @@ j = function bar() {
Examples of **correct** code for this rule with the `{ "ArrayExpression": "always", "ArrayPattern": "never" }` options:

```js
/*eslint object-curly-newline: ["error", { "ArrayExpression": "always", "ArrayPattern": "never" }]*/
/*eslint array-element-newline: ["error", { "ArrayExpression": "always", "ArrayPattern": "never" }]*/

var a = [1,
2];
Expand Down

0 comments on commit 2124e1b

Please sign in to comment.