1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-07-08 04:49: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:
- error
- 4
-
ignoredNodes:
- Program > IfStatement > BlockStatement
- Program > ExpressionStatement > CallExpression > ArrowFunctionExpression > BlockStatement
- ignoredNodes:
- Program > IfStatement > BlockStatement
- Program > ExpressionStatement > CallExpression > ArrowFunctionExpression > BlockStatement
- ArrayExpression > Literal
no-control-regex: off
no-empty: off
sort-imports: warn