mirror of
https://github.com/nodejs/node.git
synced 2024-11-30 07:27:22 +01:00
e9b67f7e5d
All linting now uses the current ESLint 4.3.0 indentation linting. Remove legacy indentation rules. PR-URL: https://github.com/nodejs/node/pull/14515 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Claudio Rodriguez <cjrodr@yahoo.com> Reviewed-By: Evan Lucas <evanlucas@me.com> Reviewed-By: Timothy Gu <timothygu99@gmail.com>
15 lines
354 B
YAML
15 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]
|