diff options
author | Rich Trott <rtrott@gmail.com> | 2016-08-26 23:02:28 -0700 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2016-08-30 10:40:45 -0700 |
commit | 201115812e4dc828fa0f122a373ee739850d1f16 (patch) | |
tree | 893ec3a9f30b6f2396b64206acf39f3bdb0b780e /tools/eslint/lib/rules/no-new-symbol.js | |
parent | 932c824c600167d3057d3b42b6b0b81468334efb (diff) | |
download | node-new-201115812e4dc828fa0f122a373ee739850d1f16.tar.gz |
tools: update ESLint to 3.4.0
PR-URL: https://github.com/nodejs/node/pull/8296
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Roman Reiss <me@silverwind.io>
Diffstat (limited to 'tools/eslint/lib/rules/no-new-symbol.js')
-rw-r--r-- | tools/eslint/lib/rules/no-new-symbol.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/eslint/lib/rules/no-new-symbol.js b/tools/eslint/lib/rules/no-new-symbol.js index e8c87b1b63..c65e7c9df9 100644 --- a/tools/eslint/lib/rules/no-new-symbol.js +++ b/tools/eslint/lib/rules/no-new-symbol.js @@ -20,10 +20,10 @@ module.exports = { schema: [] }, - create: function(context) { + create(context) { return { - "Program:exit": function() { + "Program:exit"() { const globalScope = context.getScope(); const variable = globalScope.set.get("Symbol"); |