mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-24 19:33:01 +01:00
31 lines
865 B
YAML
31 lines
865 B
YAML
env:
|
|
browser: true
|
|
es2022: true
|
|
extends: eslint:recommended
|
|
parserOptions:
|
|
sourceType: module
|
|
rules:
|
|
eqeqeq:
|
|
- warn
|
|
- always
|
|
indent:
|
|
- error
|
|
- 4
|
|
- ignoredNodes:
|
|
- Program > BlockStatement
|
|
- Program > ExpressionStatement > CallExpression > ArrowFunctionExpression > BlockStatement
|
|
- Program > ExpressionStatement > CallExpression > FunctionExpression > BlockStatement
|
|
- Program > IfStatement > BlockStatement
|
|
- Program > VariableDeclaration > VariableDeclarator > CallExpression > ArrowFunctionExpression > BlockStatement
|
|
- CallExpression > MemberExpression
|
|
- ArrayExpression > *
|
|
- ObjectExpression > *
|
|
no-control-regex: off
|
|
no-empty: off
|
|
sort-imports: warn
|
|
strict: warn
|
|
globals:
|
|
browser: readonly
|
|
chrome: readonly
|
|
vAPI: readonly
|