tools: enable no-extra-parens in ESLint
authorRich Trott <rtrott@gmail.com>
Tue, 1 Mar 2016 21:27:19 +0000 (13:27 -0800)
committerMyles Borins <mborins@us.ibm.com>
Mon, 21 Mar 2016 20:07:00 +0000 (13:07 -0700)
commit131ed494e2827d6020e0b11be1d4fac9ffd25312
treeb8f822da974cedd02d943846926b5732a2046f0c
parent1afab6ac9c6f9b5d0d7bc7b7fe6b2ff8a3164aa6
tools: enable no-extra-parens in ESLint

Enable `no-extra-parens`. This rule restricts the use of parentheses to
only where they are necessary. It is set to be restricted to report only
function expressions.

PR-URL: https://github.com/nodejs/node/pull/5512
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Evan Lucas <evanlucas@me.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
.eslintrc
test/parallel/test-util-inspect.js