diff options
author | Sakthipriyan Vairamani <thechargingvolcano@gmail.com> | 2015-10-08 23:10:10 +0530 |
---|---|---|
committer | Sakthipriyan Vairamani <thechargingvolcano@gmail.com> | 2015-10-27 23:02:43 +0530 |
commit | b0e7b362c2ffe91d785446f420629e52eb793508 (patch) | |
tree | 483a02075864da6a1e15d949fed4d1204a864eed /lib/cluster.js | |
parent | da21dba1a001eb85dbf720e142a1b94778e9a9f7 (diff) | |
download | android-node-v8-b0e7b362c2ffe91d785446f420629e52eb793508.tar.gz android-node-v8-b0e7b362c2ffe91d785446f420629e52eb793508.tar.bz2 android-node-v8-b0e7b362c2ffe91d785446f420629e52eb793508.zip |
tools: enable prefer-const eslint rule
Description from: http://eslint.org/docs/rules/prefer-const.html
If a variable is never modified, using the `const` declaration is
better. `const` declaration tells readers, "this variable is never
modified," reducing cognitive load and improving maintainability.
Refer: https://github.com/nodejs/node/issues/3118
PR-URL: https://github.com/nodejs/node/pull/3152
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
Reviewed-By: Roman Reiss <me@silverwind.io>
Reviewed-By: Michaël Zasso <mic.besace@gmail.com>
Diffstat (limited to 'lib/cluster.js')
0 files changed, 0 insertions, 0 deletions