mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-10 01:02:08 +01:00
950b5ea55e
Support no-indentation for file-level if block or arrow function block.
26 lines
547 B
YAML
26 lines
547 B
YAML
env:
|
|
browser: true
|
|
es2022: true
|
|
extends: eslint:recommended
|
|
parserOptions:
|
|
sourceType: module
|
|
rules:
|
|
eqeqeq:
|
|
- warn
|
|
- always
|
|
indent:
|
|
- error
|
|
- 4
|
|
-
|
|
ignoredNodes:
|
|
- Program > IfStatement > BlockStatement
|
|
- Program > ExpressionStatement > CallExpression > ArrowFunctionExpression > BlockStatement
|
|
no-control-regex: off
|
|
no-empty: off
|
|
sort-imports: warn
|
|
strict: warn
|
|
globals:
|
|
browser: readonly
|
|
chrome: readonly
|
|
webext: readonly
|
|
vAPI: readonly
|