summaryrefslogtreecommitdiff
path: root/test/.eslintrc.yaml
blob: aa320996aa4b16371aa6445edc514fa19e47ecbe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
## Test-specific linter rules

rules:
  # ECMAScript 6
  # http://eslint.org/docs/rules/#ecmascript-6
  no-var: error
  prefer-const: error
  symbol-description: off

  # Custom rules in tools/eslint-rules
  prefer-assert-iferror: error
  prefer-assert-methods: error
  prefer-common-mustnotcall: error
  crypto-check: error
  inspector-check: error
  ## common module is mandatory in tests
  required-modules: [error, common]

# Global scoped methods and vars
globals:
  WebAssembly: false