Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(48)

Issue 1992383002: DevTools: add eslint as presubmit hook (Closed)

Created:
4 years, 7 months ago by lushnikov
Modified:
4 years, 7 months ago
Reviewers:
paulirish, dgozman, pfeldman
CC:
apavlov+blink_chromium.org, blink-reviews, caseq+blink_chromium.org, chromium-reviews, devtools-reviews_chromium.org, kozyatinskiy+blink_chromium.org, lushnikov+blink_chromium.org, pfeldman+blink_chromium.org, pfeldman, sergeyv+blink_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

DevTools: add eslint as presubmit hook The patch sets up eslint as a presubmit hooks for the DevTools frontend. The hooks validates only modified javascript files and works blazingly fast. BUG=605878 R=paulirish, dgozman, pfeldman Committed: https://crrev.com/ddf9471bf9b0f1b05b5eabd790dda8836a4184d2 Cr-Commit-Position: refs/heads/master@{#395203}

Patch Set 1 #

Patch Set 2 : lint affected files only #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 6

Patch Set 5 : address comments #

Total comments: 2

Patch Set 6 : address comments #

Messages

Total messages: 17 (8 generated)
lushnikov
ptal
4 years, 7 months ago (2016-05-20 19:36:20 UTC) #5
paulirish
https://codereview.chromium.org/1992383002/diff/60001/third_party/WebKit/Source/devtools/PRESUBMIT.py File third_party/WebKit/Source/devtools/PRESUBMIT.py (right): https://codereview.chromium.org/1992383002/diff/60001/third_party/WebKit/Source/devtools/PRESUBMIT.py#newcode53 third_party/WebKit/Source/devtools/PRESUBMIT.py:53: if "error" in out or "warning" in out: You ...
4 years, 7 months ago (2016-05-20 20:26:22 UTC) #6
lushnikov
https://codereview.chromium.org/1992383002/diff/60001/third_party/WebKit/Source/devtools/PRESUBMIT.py File third_party/WebKit/Source/devtools/PRESUBMIT.py (right): https://codereview.chromium.org/1992383002/diff/60001/third_party/WebKit/Source/devtools/PRESUBMIT.py#newcode53 third_party/WebKit/Source/devtools/PRESUBMIT.py:53: if "error" in out or "warning" in out: On ...
4 years, 7 months ago (2016-05-20 20:54:56 UTC) #7
dgozman
stampy stamp lgtm https://codereview.chromium.org/1992383002/diff/80001/third_party/WebKit/Source/devtools/PRESUBMIT.py File third_party/WebKit/Source/devtools/PRESUBMIT.py (right): https://codereview.chromium.org/1992383002/diff/80001/third_party/WebKit/Source/devtools/PRESUBMIT.py#newcode45 third_party/WebKit/Source/devtools/PRESUBMIT.py:45: affected_front_end_files = [input_api.os_path.join("front_end", file_name.split(devtools_front_end).pop()[1:]) for file_name ...
4 years, 7 months ago (2016-05-20 21:12:59 UTC) #8
lushnikov
https://codereview.chromium.org/1992383002/diff/80001/third_party/WebKit/Source/devtools/PRESUBMIT.py File third_party/WebKit/Source/devtools/PRESUBMIT.py (right): https://codereview.chromium.org/1992383002/diff/80001/third_party/WebKit/Source/devtools/PRESUBMIT.py#newcode45 third_party/WebKit/Source/devtools/PRESUBMIT.py:45: affected_front_end_files = [input_api.os_path.join("front_end", file_name.split(devtools_front_end).pop()[1:]) for file_name in affected_front_end_files] On ...
4 years, 7 months ago (2016-05-20 21:49:26 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1992383002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1992383002/100001
4 years, 7 months ago (2016-05-20 21:49:52 UTC) #12
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 7 months ago (2016-05-20 23:37:36 UTC) #14
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/ddf9471bf9b0f1b05b5eabd790dda8836a4184d2 Cr-Commit-Position: refs/heads/master@{#395203}
4 years, 7 months ago (2016-05-20 23:39:19 UTC) #16
lushnikov
4 years, 7 months ago (2016-05-23 19:14:43 UTC) #17
Message was sent while issue was closed.
for the record: the eslint should be installed separately.

Powered by Google App Engine
This is Rietveld 408576698