1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-06 02:42:33 +01:00
uBlock/.eslintrc.yml

31 lines
865 B
YAML
Raw Normal View History

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
2024-05-20 20:00:36 +02:00
- Program > ExpressionStatement > CallExpression > FunctionExpression > BlockStatement
2024-09-18 17:32:16 +02:00
- Program > IfStatement > BlockStatement
- Program > VariableDeclaration > VariableDeclarator > CallExpression > ArrowFunctionExpression > BlockStatement
- CallExpression > MemberExpression
2024-04-10 02:05:40 +02:00
- ArrayExpression > *
- ObjectExpression > *
no-control-regex: off
no-empty: off
sort-imports: warn
strict: warn
globals:
browser: readonly
chrome: readonly
vAPI: readonly