0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/tools/eslint-rules
James M Snell 9e30129fa7 tools: add buffer-constructor eslint rule
Now that the Buffer.alloc, allocUnsafe, and from methods have landed,
add a linting rule that requires their use within lib. Tests and
benchmarks are explicitly excluded by the rule.

PR-URL: https://github.com/nodejs/node/pull/5740
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
2016-03-18 17:05:18 -07:00
..
buffer-constructor.js tools: add buffer-constructor eslint rule 2016-03-18 17:05:18 -07:00
new-with-error.js tools: remove obsolete lint rules 2016-02-18 10:13:03 -08:00
require-buffer.js tools: remove obsolete lint rules 2016-02-18 10:13:03 -08:00
required-modules.js tools: remove obsolete lint rules 2016-02-18 10:13:03 -08:00