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-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
|
|
|
|
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]
|