Fine tune eslint

Support no-indentation for file-level if block or
arrow function block.
This commit is contained in:
Raymond Hill 2024-03-18 11:08:52 -04:00
parent 38b325ecce
commit 950b5ea55e
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2
1 changed files with 5 additions and 4 deletions

View File

@ -9,13 +9,14 @@ rules:
- warn
- always
indent:
- warn
- error
- 4
-
ignoredNodes:
- Program > IfStatement > *
noControlRegex: off
noEmpty: off
- Program > IfStatement > BlockStatement
- Program > ExpressionStatement > CallExpression > ArrowFunctionExpression > BlockStatement
no-control-regex: off
no-empty: off
sort-imports: warn
strict: warn
globals: