node/test/.eslintrc.yaml
Refael Ackermann 20c7b58596 tools: eslint - use error and off
PR-URL: https://github.com/nodejs/node/pull/14061
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
2017-07-19 15:02:12 -04:00

14 lines
354 B
YAML

## Test-specific linter rules
rules:
# ECMAScript 6
# http://eslint.org/docs/rules/#ecmascript-6
no-var: error
prefer-const: error
# Custom rules in tools/eslint-rules
prefer-assert-iferror: error
prefer-assert-methods: error
prefer-common-mustnotcall: error
## common module is mandatory in tests
required-modules: [error, common]