From b8c9d6b64ed07769a12b8b4d9cb5b68b7f99a2ad 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 05452c18084938..db5f400ed8febf 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',