summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2016-04-18 11:40:09 -0700
committerJames M Snell <jasnell@gmail.com>2016-04-20 08:33:59 -0700
commit4bbd41864ac0edb94ee0c7603701e79a68f0e56a (patch)
treece921d92c45bfe311430345f4f7bf1509edf3185
parente9dc6306ca97598d6a8fe9baa7c8a8ed002287b2 (diff)
downloadandroid-node-v8-4bbd41864ac0edb94ee0c7603701e79a68f0e56a.tar.gz
android-node-v8-4bbd41864ac0edb94ee0c7603701e79a68f0e56a.tar.bz2
android-node-v8-4bbd41864ac0edb94ee0c7603701e79a68f0e56a.zip
tools: enable linting for v8_prof_processor.js
`lib/internal/v8_prof_processor.js` was being excluded from linting, but the only lint issue it has is that it cannot run in strict mode. Disable the `strict` rule with a comment and remove the file from `.eslintignore`. PR-URL: https://github.com/nodejs/node/pull/6262 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Roman Klauke <romaaan.git@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
-rw-r--r--.eslintignore1
-rw-r--r--lib/internal/v8_prof_processor.js1
2 files changed, 1 insertions, 1 deletions
diff --git a/.eslintignore b/.eslintignore
index 0be7057993..9b5c5fccb6 100644
--- a/.eslintignore
+++ b/.eslintignore
@@ -1,5 +1,4 @@
lib/internal/v8_prof_polyfill.js
-lib/internal/v8_prof_processor.js
lib/punycode.js
test/addons/??_*/
test/fixtures
diff --git a/lib/internal/v8_prof_processor.js b/lib/internal/v8_prof_processor.js
index c84b3104d2..86f06629e1 100644
--- a/lib/internal/v8_prof_processor.js
+++ b/lib/internal/v8_prof_processor.js
@@ -1,3 +1,4 @@
+/* eslint-disable strict */
const scriptFiles = [
'internal/v8_prof_polyfill',
'v8/tools/splaytree',