summaryrefslogtreecommitdiffstats
path: root/.eslintrc.yml
blob: c888f4cd0896d13a0145890c6b39c4264e399969 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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
        - CallExpression > MemberExpression
        - ArrayExpression > Literal
    no-control-regex: off
    no-empty: off
    sort-imports: warn
    strict: warn
globals:
    browser: readonly
    chrome: readonly
    vAPI: readonly