From 90fa0776f25be584ffe2fdeb61c8e8c62b575620 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Mon, 18 Apr 2016 11:40:09 -0700 Subject: [PATCH] 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 0be7057993e451..9b5c5fccb643e4 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 c84b3104d20119..86f06629e1b025 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',