Fine tune eslint

Allow arbitrary indent inside literal array declaration.
This commit is contained in:
Raymond Hill 2024-03-19 09:55:28 -04:00
parent 7c235df611
commit 58c935aa9e
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2
1 changed files with 4 additions and 4 deletions

View File

@ -11,10 +11,10 @@ rules:
indent: indent:
- error - error
- 4 - 4
- - ignoredNodes:
ignoredNodes: - Program > IfStatement > BlockStatement
- Program > IfStatement > BlockStatement - Program > ExpressionStatement > CallExpression > ArrowFunctionExpression > BlockStatement
- Program > ExpressionStatement > CallExpression > ArrowFunctionExpression > BlockStatement - ArrayExpression > Literal
no-control-regex: off no-control-regex: off
no-empty: off no-empty: off
sort-imports: warn sort-imports: warn