From 4bbd41864ac0edb94ee0c7603701e79a68f0e56a Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Mon, 18 Apr 2016 11:40:09 -0700 Subject: 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 Reviewed-By: Roman Klauke Reviewed-By: James M Snell --- .eslintignore | 1 - lib/internal/v8_prof_processor.js | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) 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', -- cgit v1.2.3