mirror of
https://github.com/gorhill/uBlock.git
synced 2025-01-31 12:11:36 +01:00
Fine tune eslint
Allow arbitrary indent inside literal array declaration.
This commit is contained in:
parent
7c235df611
commit
58c935aa9e
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user