2015-05-19 13:00:06 +02:00
|
|
|
## Test-specific linter rules
|
|
|
|
|
|
|
|
rules:
|
2017-01-08 16:23:00 +01:00
|
|
|
# ECMAScript 6
|
|
|
|
# http://eslint.org/docs/rules/#ecmascript-6
|
2017-07-03 18:51:45 +02:00
|
|
|
no-var: error
|
|
|
|
prefer-const: error
|
2017-10-17 00:37:14 +02:00
|
|
|
symbol-description: off
|
2017-01-08 16:23:00 +01:00
|
|
|
|
|
|
|
# Custom rules in tools/eslint-rules
|
2017-07-03 18:51:45 +02:00
|
|
|
prefer-assert-iferror: error
|
|
|
|
prefer-assert-methods: error
|
2017-12-08 22:06:02 +01:00
|
|
|
prefer-common-expectserror: error
|
2017-07-03 18:51:45 +02:00
|
|
|
prefer-common-mustnotcall: error
|
2017-06-20 08:30:47 +02:00
|
|
|
crypto-check: error
|
2017-06-20 08:30:47 +02:00
|
|
|
inspector-check: error
|
2017-01-08 16:23:00 +01:00
|
|
|
## common module is mandatory in tests
|
2017-07-03 18:51:45 +02:00
|
|
|
required-modules: [error, common]
|
2017-11-04 23:08:37 +01:00
|
|
|
|
|
|
|
# Global scoped methods and vars
|
|
|
|
globals:
|
|
|
|
WebAssembly: false
|