mirror of
https://github.com/nodejs/node.git
synced 2024-11-29 23:16:30 +01:00
6e4d30286d
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>
13 lines
205 B
Plaintext
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
|