Skip to content
Permalink
Browse files
Docs: Fix wrong rule name (#13913)
  • Loading branch information
noisyboy25 committed Dec 12, 2020
1 parent 06b5809 commit 2124e1b5dad30a905dc26bde9da472bf622d3f50
Showing with 1 addition and 1 deletion.
  1. +1 −1 docs/rules/array-element-newline.md
@@ -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];

0 comments on commit 2124e1b

Please sign in to comment.