diff options
author | Rich Trott <rtrott@gmail.com> | 2016-04-18 21:40:09 +0300 |
---|---|---|
committer | James M Snell <jasnell@gmail.com> | 2016-04-20 18:33:59 +0300 |
commit | 4bbd41864ac0edb94ee0c7603701e79a68f0e56a (patch) | |
tree | ce921d92c45bfe311430345f4f7bf1509edf3185 | |
parent | e9dc6306ca97598d6a8fe9baa7c8a8ed002287b2 (diff) |
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-- | .eslintignore | 1 | ||||
-rw-r--r-- | lib/internal/v8_prof_processor.js | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/.eslintignore b/.eslintignore index 0be7057993e..9b5c5fccb64 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 c84b3104d20..86f06629e1b 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', |