diff --git a/rules/no-magic-array-flat-depth.js b/rules/no-magic-array-flat-depth.js index 566ec92ca2..a9ff77873f 100644 --- a/rules/no-magic-array-flat-depth.js +++ b/rules/no-magic-array-flat-depth.js @@ -20,10 +20,7 @@ const create = context => ({ const [depth] = callExpression.arguments; - if ( - !isNumberLiteral(depth) - || depth.value === 1 - ) { + if (!isNumberLiteral(depth) || depth.value === 1) { return; }