0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-29 23:16:30 +01:00
nodejs/test/.eslintrc
Roman Reiss 6e4d30286d tools: enable/add additional eslint rules
Enables the following rules:

- no-undef: Valuable rule to error on usage of undefined variables
- require-buffer: Custom rule that forbids usage of the global Buffer
  inside lib/ because of REPL issues.

PR-URL: https://github.com/nodejs/io.js/pull/1794
Reviewed-By: Trevor Norris <trev.norris@gmail.com>
2015-06-11 20:27:35 +02:00

13 lines
205 B
Plaintext

## Test-specific linter rules
rules:
## allow unreachable code
no-unreachable: 0
## allow undeclared variables
no-undef: 0
## allow global Buffer usage
require-buffer: 0
globals:
gc: false