mirror of
https://github.com/nodejs/node.git
synced 2024-11-29 23:16:30 +01:00
e554bc8f3f
PR-URL: https://github.com/nodejs/node/pull/17556 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
24 lines
549 B
YAML
24 lines
549 B
YAML
## 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-expectserror: error
|
|
prefer-common-mustnotcall: error
|
|
crypto-check: error
|
|
inspector-check: error
|
|
number-isnan: error
|
|
## common module is mandatory in tests
|
|
required-modules: [error, common]
|
|
|
|
# Global scoped methods and vars
|
|
globals:
|
|
WebAssembly: false
|