mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-10 01:02:08 +01:00
Fine tune eslint
Allow arbitrary indent inside literal array declaration.
This commit is contained in:
parent
7c235df611
commit
58c935aa9e
1 changed files with 4 additions and 4 deletions
|
@ -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…
Reference in a new issue