Adding ESLint to drive the analyzer features proposed in https://bugs.webkit.org/show_bug.cgi?id=136515
<rdar://problem/18653753>
Created attachment 239835 [details] [PATCH] eslint addition.
Attachment 239835 [details] did not pass style-queue: ERROR: Source/WebInspectorUI/UserInterface/External/ESLint/eslint.js:8559: Line contains tab character. [whitespace/tab] [5] ERROR: Source/WebInspectorUI/UserInterface/External/ESLint/eslint.js:8560: Line contains tab character. [whitespace/tab] [5] ERROR: Source/WebInspectorUI/UserInterface/External/ESLint/eslint.js:8561: Line contains tab character. [whitespace/tab] [5] ERROR: Source/WebInspectorUI/UserInterface/External/ESLint/eslint.js:8563: Line contains tab character. [whitespace/tab] [5] ERROR: Source/WebInspectorUI/UserInterface/External/ESLint/eslint.js:8567: Line contains tab character. [whitespace/tab] [5] ERROR: Source/WebInspectorUI/UserInterface/External/ESLint/eslint.js:8568: Line contains tab character. [whitespace/tab] [5] ERROR: Source/WebInspectorUI/UserInterface/External/ESLint/eslint.js:8569: Line contains tab character. [whitespace/tab] [5] ERROR: Source/WebInspectorUI/UserInterface/External/ESLint/eslint.js:8570: Line contains tab character. [whitespace/tab] [5] ERROR: Source/WebInspectorUI/UserInterface/External/ESLint/eslint.js:8572: Line contains tab character. [whitespace/tab] [5] ERROR: Source/WebInspectorUI/UserInterface/External/ESLint/eslint.js:8573: Line contains tab character. [whitespace/tab] [5] ERROR: Source/WebInspectorUI/UserInterface/External/ESLint/eslint.js:8574: Line contains tab character. [whitespace/tab] [5] ERROR: Source/WebInspectorUI/UserInterface/External/ESLint/eslint.js:8576: Line contains tab character. [whitespace/tab] [5] ERROR: Source/WebInspectorUI/UserInterface/External/ESLint/eslint.js:8577: Line contains tab character. [whitespace/tab] [5] ERROR: Source/WebInspectorUI/UserInterface/External/ESLint/eslint.js:8578: Line contains tab character. [whitespace/tab] [5] ERROR: Source/WebInspectorUI/UserInterface/External/ESLint/eslint.js:8579: Line contains tab character. [whitespace/tab] [5] ERROR: Source/WebInspectorUI/UserInterface/External/ESLint/eslint.js:8580: Line contains tab character. [whitespace/tab] [5] ERROR: Source/WebInspectorUI/UserInterface/External/ESLint/eslint.js:8581: Line contains tab character. [whitespace/tab] [5] ERROR: Source/WebInspectorUI/UserInterface/External/ESLint/eslint.js:8582: Line contains tab character. [whitespace/tab] [5] ERROR: Source/WebInspectorUI/UserInterface/External/ESLint/eslint.js:8583: Line contains tab character. [whitespace/tab] [5] ERROR: Source/WebInspectorUI/UserInterface/External/ESLint/eslint.js:8584: Line contains tab character. [whitespace/tab] [5] ERROR: Source/WebInspectorUI/UserInterface/External/ESLint/eslint.js:8585: Line contains tab character. [whitespace/tab] [5] ERROR: Source/WebInspectorUI/UserInterface/External/ESLint/eslint.js:8587: Line contains tab character. [whitespace/tab] [5] ERROR: Source/WebInspectorUI/UserInterface/External/ESLint/eslint.js:8588: Line contains tab character. [whitespace/tab] [5] ERROR: Source/WebInspectorUI/UserInterface/External/ESLint/eslint.js:8589: Line contains tab character. [whitespace/tab] [5] ERROR: Source/WebInspectorUI/UserInterface/External/ESLint/eslint.js:8591: Line contains tab character. [whitespace/tab] [5] Total errors found: 25 in 4 files If any of these errors are false positives, please file a bug against check-webkit-style.
Comment on attachment 239835 [details] [PATCH] eslint addition. Rejecting attachment 239835 [details] from commit-queue. Failed to run "['/Volumes/Data/EWS/WebKit/Tools/Scripts/webkit-patch', '--status-host=webkit-queues.appspot.com', '--bot-id=webkit-cq-03', 'land-attachment', '--force-clean', '--non-interactive', '--parent-command=commit-queue', 239835, '--port=mac']" exit_code: 2 cwd: /Volumes/Data/EWS/WebKit Last 500 characters of output: ing rebase: :040000 040000 a4e96db7b75e498eb21099542d672c3be8ac186b ba16b4bd083807d8f83712188e0add6f23f36e66 M Source Current branch master is up to date. ERROR: Not all changes have been committed into SVN, however the committed ones (if any) seem to be successfully integrated into the working tree. Please see the above messages for details. Failed to run "['git', 'svn', 'dcommit', '--rmdir']" exit_code: 1 cwd: /Volumes/Data/EWS/WebKit Updating OpenSource Current branch master is up to date. Full output: http://webkit-queues.appspot.com/results/5179812322738176
What happened? Error. It mentions "Over 500 tabs" but not sure what would have caused that.
Manually committed r174721: <https://trac.webkit.org/changeset/174721>
Reopening as the patch broke the build. Need to insert 2-3 lines to fix.
Created attachment 240048 [details] [PATCH] eslint addition FIX. Corrected patch. The file copy script needed another variable set for ESLint.js.
Attachment 240048 [details] did not pass style-queue: ERROR: Source/WebInspectorUI/UserInterface/External/ESLint/eslint.js:8559: Line contains tab character. [whitespace/tab] [5] ERROR: Source/WebInspectorUI/UserInterface/External/ESLint/eslint.js:8560: Line contains tab character. [whitespace/tab] [5] ERROR: Source/WebInspectorUI/UserInterface/External/ESLint/eslint.js:8561: Line contains tab character. [whitespace/tab] [5] ERROR: Source/WebInspectorUI/UserInterface/External/ESLint/eslint.js:8563: Line contains tab character. [whitespace/tab] [5] ERROR: Source/WebInspectorUI/UserInterface/External/ESLint/eslint.js:8567: Line contains tab character. [whitespace/tab] [5] ERROR: Source/WebInspectorUI/UserInterface/External/ESLint/eslint.js:8568: Line contains tab character. [whitespace/tab] [5] ERROR: Source/WebInspectorUI/UserInterface/External/ESLint/eslint.js:8569: Line contains tab character. [whitespace/tab] [5] ERROR: Source/WebInspectorUI/UserInterface/External/ESLint/eslint.js:8570: Line contains tab character. [whitespace/tab] [5] ERROR: Source/WebInspectorUI/UserInterface/External/ESLint/eslint.js:8572: Line contains tab character. [whitespace/tab] [5] ERROR: Source/WebInspectorUI/UserInterface/External/ESLint/eslint.js:8573: Line contains tab character. [whitespace/tab] [5] ERROR: Source/WebInspectorUI/UserInterface/External/ESLint/eslint.js:8574: Line contains tab character. [whitespace/tab] [5] ERROR: Source/WebInspectorUI/UserInterface/External/ESLint/eslint.js:8576: Line contains tab character. [whitespace/tab] [5] ERROR: Source/WebInspectorUI/UserInterface/External/ESLint/eslint.js:8577: Line contains tab character. [whitespace/tab] [5] ERROR: Source/WebInspectorUI/UserInterface/External/ESLint/eslint.js:8578: Line contains tab character. [whitespace/tab] [5] ERROR: Source/WebInspectorUI/UserInterface/External/ESLint/eslint.js:8579: Line contains tab character. [whitespace/tab] [5] ERROR: Source/WebInspectorUI/UserInterface/External/ESLint/eslint.js:8580: Line contains tab character. [whitespace/tab] [5] ERROR: Source/WebInspectorUI/UserInterface/External/ESLint/eslint.js:8581: Line contains tab character. [whitespace/tab] [5] ERROR: Source/WebInspectorUI/UserInterface/External/ESLint/eslint.js:8582: Line contains tab character. [whitespace/tab] [5] ERROR: Source/WebInspectorUI/UserInterface/External/ESLint/eslint.js:8583: Line contains tab character. [whitespace/tab] [5] ERROR: Source/WebInspectorUI/UserInterface/External/ESLint/eslint.js:8584: Line contains tab character. [whitespace/tab] [5] ERROR: Source/WebInspectorUI/UserInterface/External/ESLint/eslint.js:8585: Line contains tab character. [whitespace/tab] [5] ERROR: Source/WebInspectorUI/UserInterface/External/ESLint/eslint.js:8587: Line contains tab character. [whitespace/tab] [5] ERROR: Source/WebInspectorUI/UserInterface/External/ESLint/eslint.js:8588: Line contains tab character. [whitespace/tab] [5] ERROR: Source/WebInspectorUI/UserInterface/External/ESLint/eslint.js:8589: Line contains tab character. [whitespace/tab] [5] ERROR: Source/WebInspectorUI/UserInterface/External/ESLint/eslint.js:8591: Line contains tab character. [whitespace/tab] [5] Total errors found: 25 in 3 files If any of these errors are false positives, please file a bug against check-webkit-style.
Created attachment 240049 [details] [PATCH] eslint addition FIX and CHANGELOG. Forgot ChangeLog.
Attachment 240049 [details] did not pass style-queue: ERROR: Source/WebInspectorUI/UserInterface/External/ESLint/eslint.js:8559: Line contains tab character. [whitespace/tab] [5] ERROR: Source/WebInspectorUI/UserInterface/External/ESLint/eslint.js:8560: Line contains tab character. [whitespace/tab] [5] ERROR: Source/WebInspectorUI/UserInterface/External/ESLint/eslint.js:8561: Line contains tab character. [whitespace/tab] [5] ERROR: Source/WebInspectorUI/UserInterface/External/ESLint/eslint.js:8563: Line contains tab character. [whitespace/tab] [5] ERROR: Source/WebInspectorUI/UserInterface/External/ESLint/eslint.js:8567: Line contains tab character. [whitespace/tab] [5] ERROR: Source/WebInspectorUI/UserInterface/External/ESLint/eslint.js:8568: Line contains tab character. [whitespace/tab] [5] ERROR: Source/WebInspectorUI/UserInterface/External/ESLint/eslint.js:8569: Line contains tab character. [whitespace/tab] [5] ERROR: Source/WebInspectorUI/UserInterface/External/ESLint/eslint.js:8570: Line contains tab character. [whitespace/tab] [5] ERROR: Source/WebInspectorUI/UserInterface/External/ESLint/eslint.js:8572: Line contains tab character. [whitespace/tab] [5] ERROR: Source/WebInspectorUI/UserInterface/External/ESLint/eslint.js:8573: Line contains tab character. [whitespace/tab] [5] ERROR: Source/WebInspectorUI/UserInterface/External/ESLint/eslint.js:8574: Line contains tab character. [whitespace/tab] [5] ERROR: Source/WebInspectorUI/UserInterface/External/ESLint/eslint.js:8576: Line contains tab character. [whitespace/tab] [5] ERROR: Source/WebInspectorUI/UserInterface/External/ESLint/eslint.js:8577: Line contains tab character. [whitespace/tab] [5] ERROR: Source/WebInspectorUI/UserInterface/External/ESLint/eslint.js:8578: Line contains tab character. [whitespace/tab] [5] ERROR: Source/WebInspectorUI/UserInterface/External/ESLint/eslint.js:8579: Line contains tab character. [whitespace/tab] [5] ERROR: Source/WebInspectorUI/UserInterface/External/ESLint/eslint.js:8580: Line contains tab character. [whitespace/tab] [5] ERROR: Source/WebInspectorUI/UserInterface/External/ESLint/eslint.js:8581: Line contains tab character. [whitespace/tab] [5] ERROR: Source/WebInspectorUI/UserInterface/External/ESLint/eslint.js:8582: Line contains tab character. [whitespace/tab] [5] ERROR: Source/WebInspectorUI/UserInterface/External/ESLint/eslint.js:8583: Line contains tab character. [whitespace/tab] [5] ERROR: Source/WebInspectorUI/UserInterface/External/ESLint/eslint.js:8584: Line contains tab character. [whitespace/tab] [5] ERROR: Source/WebInspectorUI/UserInterface/External/ESLint/eslint.js:8585: Line contains tab character. [whitespace/tab] [5] ERROR: Source/WebInspectorUI/UserInterface/External/ESLint/eslint.js:8587: Line contains tab character. [whitespace/tab] [5] ERROR: Source/WebInspectorUI/UserInterface/External/ESLint/eslint.js:8588: Line contains tab character. [whitespace/tab] [5] ERROR: Source/WebInspectorUI/UserInterface/External/ESLint/eslint.js:8589: Line contains tab character. [whitespace/tab] [5] ERROR: Source/WebInspectorUI/UserInterface/External/ESLint/eslint.js:8591: Line contains tab character. [whitespace/tab] [5] Total errors found: 25 in 4 files If any of these errors are false positives, please file a bug against check-webkit-style.
Comment on attachment 240049 [details] [PATCH] eslint addition FIX and CHANGELOG. Mmm, still not copying correctly. Working more on this.
Created attachment 240051 [details] [PATCH] eslint addition FIX and CHANGELOG.
Comment on attachment 240051 [details] [PATCH] eslint addition FIX and CHANGELOG. Corrected. Dry run works.
Attachment 240051 [details] did not pass style-queue: ERROR: Source/WebInspectorUI/UserInterface/External/ESLint/eslint.js:8559: Line contains tab character. [whitespace/tab] [5] ERROR: Source/WebInspectorUI/UserInterface/External/ESLint/eslint.js:8560: Line contains tab character. [whitespace/tab] [5] ERROR: Source/WebInspectorUI/UserInterface/External/ESLint/eslint.js:8561: Line contains tab character. [whitespace/tab] [5] ERROR: Source/WebInspectorUI/UserInterface/External/ESLint/eslint.js:8563: Line contains tab character. [whitespace/tab] [5] ERROR: Source/WebInspectorUI/UserInterface/External/ESLint/eslint.js:8567: Line contains tab character. [whitespace/tab] [5] ERROR: Source/WebInspectorUI/UserInterface/External/ESLint/eslint.js:8568: Line contains tab character. [whitespace/tab] [5] ERROR: Source/WebInspectorUI/UserInterface/External/ESLint/eslint.js:8569: Line contains tab character. [whitespace/tab] [5] ERROR: Source/WebInspectorUI/UserInterface/External/ESLint/eslint.js:8570: Line contains tab character. [whitespace/tab] [5] ERROR: Source/WebInspectorUI/UserInterface/External/ESLint/eslint.js:8572: Line contains tab character. [whitespace/tab] [5] ERROR: Source/WebInspectorUI/UserInterface/External/ESLint/eslint.js:8573: Line contains tab character. [whitespace/tab] [5] ERROR: Source/WebInspectorUI/UserInterface/External/ESLint/eslint.js:8574: Line contains tab character. [whitespace/tab] [5] ERROR: Source/WebInspectorUI/UserInterface/External/ESLint/eslint.js:8576: Line contains tab character. [whitespace/tab] [5] ERROR: Source/WebInspectorUI/UserInterface/External/ESLint/eslint.js:8577: Line contains tab character. [whitespace/tab] [5] ERROR: Source/WebInspectorUI/UserInterface/External/ESLint/eslint.js:8578: Line contains tab character. [whitespace/tab] [5] ERROR: Source/WebInspectorUI/UserInterface/External/ESLint/eslint.js:8579: Line contains tab character. [whitespace/tab] [5] ERROR: Source/WebInspectorUI/UserInterface/External/ESLint/eslint.js:8580: Line contains tab character. [whitespace/tab] [5] ERROR: Source/WebInspectorUI/UserInterface/External/ESLint/eslint.js:8581: Line contains tab character. [whitespace/tab] [5] ERROR: Source/WebInspectorUI/UserInterface/External/ESLint/eslint.js:8582: Line contains tab character. [whitespace/tab] [5] ERROR: Source/WebInspectorUI/UserInterface/External/ESLint/eslint.js:8583: Line contains tab character. [whitespace/tab] [5] ERROR: Source/WebInspectorUI/UserInterface/External/ESLint/eslint.js:8584: Line contains tab character. [whitespace/tab] [5] ERROR: Source/WebInspectorUI/UserInterface/External/ESLint/eslint.js:8585: Line contains tab character. [whitespace/tab] [5] ERROR: Source/WebInspectorUI/UserInterface/External/ESLint/eslint.js:8587: Line contains tab character. [whitespace/tab] [5] ERROR: Source/WebInspectorUI/UserInterface/External/ESLint/eslint.js:8588: Line contains tab character. [whitespace/tab] [5] ERROR: Source/WebInspectorUI/UserInterface/External/ESLint/eslint.js:8589: Line contains tab character. [whitespace/tab] [5] ERROR: Source/WebInspectorUI/UserInterface/External/ESLint/eslint.js:8591: Line contains tab character. [whitespace/tab] [5] Total errors found: 25 in 4 files If any of these errors are false positives, please file a bug against check-webkit-style.
Manually committed r174852: <https://trac.webkit.org/changeset/174852>
Comment on attachment 240051 [details] [PATCH] eslint addition FIX and CHANGELOG. Removing r? since this was landed.