mirror of https://github.com/lukechilds/node.git
Browse Source
PR-URL: https://github.com/nodejs/node/pull/10685 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Roman Reiss <me@silverwind.io>v6
Gibson Fahnestock
8 years ago
1 changed files with 8 additions and 2 deletions
@ -1,7 +1,13 @@ |
|||||
## Test-specific linter rules |
## Test-specific linter rules |
||||
|
|
||||
rules: |
rules: |
||||
## common module is mandatory in tests |
# ECMAScript 6 |
||||
required-modules: [2, common] |
# http://eslint.org/docs/rules/#ecmascript-6 |
||||
|
no-var: 2 |
||||
|
prefer-const: 2 |
||||
|
|
||||
|
# Custom rules in tools/eslint-rules |
||||
prefer-assert-iferror: 2 |
prefer-assert-iferror: 2 |
||||
prefer-assert-methods: 2 |
prefer-assert-methods: 2 |
||||
|
## common module is mandatory in tests |
||||
|
required-modules: [2, common] |
||||
|
Loading…
Reference in new issue