1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-10-06 01:27:12 +02:00

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

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