tools: apply custom buffer lint rule to /lib only
authorRich Trott <rtrott@gmail.com>
Mon, 22 Feb 2016 22:24:38 +0000 (14:24 -0800)
committerMyles Borins <mborins@us.ibm.com>
Mon, 21 Mar 2016 19:57:59 +0000 (12:57 -0700)
commitd4b9f02fdc2894c2e4ffb50d611ab78e27f13cdc
treee0c013b7ad3bd52e211304ace11b05973be131a7
parent2b0c7ad98587022b1959906e42755dbeed60d566
tools: apply custom buffer lint rule to /lib only

The lint rule is there to avoid a circular-dependency issue that only
applies to `/lib`. In preparation for linting `/benchmark`, apply that
rule to `/lib` only to avoid churn in `/benchmark`.

Refs: https://github.com/nodejs/node/issues/3983#issuecomment-158956113
PR-URL: https://github.com/nodejs/node/pull/5371
Reviewed-By: Michaƫl Zasso <mic.besace@gmail.com>
Reviewed-By: Roman Reiss <me@silverwind.io>
.eslintrc
lib/.eslintrc [new file with mode: 0644]