uBlock/.eslintrc.yml

29 lines
709 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 > IfStatement > BlockStatement
- Program > ExpressionStatement > CallExpression > ArrowFunctionExpression > BlockStatement
2024-05-20 12:00:36 -06:00
- Program > ExpressionStatement > CallExpression > FunctionExpression > BlockStatement
- CallExpression > MemberExpression
2024-04-09 18:05:40 -06:00
- ArrayExpression > *
- ObjectExpression > *
no-control-regex: off
no-empty: off
sort-imports: warn
strict: warn
globals:
browser: readonly
chrome: readonly
vAPI: readonly