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

Issue 2432993005: Turn on eslint rule one-var and fix existing errors. (Closed)

Created:
4 years, 2 months ago by alexandermont
Modified:
4 years, 2 months ago
CC:
catapult-reviews_chromium.org, perf-dashboard-reviews_chromium.org, tracing-review_chromium.org
Target Ref:
refs/heads/master
Project:
catapult
Visibility:
Public.

Description

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+90 lines, -52 lines) Patch
M .eslintrc View 1 chunk +5 lines, -1 line 0 comments Download
M dashboard/dashboard/elements/alerts-table.html View 1 chunk +3 lines, -1 line 0 comments Download
M dashboard/dashboard/elements/chart-container.html View 3 chunks +6 lines, -3 lines 0 comments Download
M tracing/tracing/base/color.html View 2 chunks +5 lines, -2 lines 0 comments Download
M tracing/tracing/base/quad.html View 1 chunk +4 lines, -1 line 0 comments Download
M tracing/tracing/base/running_statistics_test.html View 1 chunk +4 lines, -6 lines 0 comments Download
M tracing/tracing/base/sorted_array_utils.html View 1 chunk +2 lines, -1 line 0 comments Download
M tracing/tracing/base/unittest/interactive_test_runner.html View 1 chunk +2 lines, -1 line 0 comments Download
M tracing/tracing/extras/importer/linux_perf/binder_parser.html View 1 chunk +4 lines, -2 lines 0 comments Download
M tracing/tracing/extras/importer/trace_event_importer.html View 1 chunk +3 lines, -1 line 0 comments Download
M tracing/tracing/extras/importer/v8/codemap.html View 1 chunk +2 lines, -1 line 0 comments Download
M tracing/tracing/extras/importer/v8/splaytree.html View 1 chunk +3 lines, -1 line 0 comments Download
M tracing/tracing/metrics/compare_samples_cmdline.html View 2 chunks +4 lines, -2 lines 0 comments Download
M tracing/tracing/metrics/v8/utils_test.html View 2 chunks +11 lines, -11 lines 0 comments Download
M tracing/tracing/model/clock_sync_manager.html View 1 chunk +2 lines, -1 line 0 comments Download
M tracing/tracing/model/global_memory_dump_test.html View 1 chunk +3 lines, -1 line 0 comments Download
M tracing/tracing/model/slice_group.html View 1 chunk +2 lines, -1 line 0 comments Download
M tracing/tracing/ui/analysis/generic_object_view.html View 1 chunk +4 lines, -1 line 0 comments Download
M tracing/tracing/ui/analysis/related_events_test.html View 2 chunks +6 lines, -2 lines 0 comments Download
M tracing/tracing/ui/base/chart_base_2d.html View 1 chunk +2 lines, -1 line 0 comments Download
M tracing/tracing/ui/base/quad_stack_view.html View 1 chunk +9 lines, -9 lines 0 comments Download
M tracing/tracing/ui/tracks/rect_track.html View 1 chunk +2 lines, -1 line 0 comments Download
M tracing/tracing/value/ui/scalar_span.html View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 20 (8 generated)
alexandermont
4 years, 2 months ago (2016-10-20 00:11:22 UTC) #2
charliea (OOO until 10-5)
lgtm
4 years, 2 months ago (2016-10-20 12:26:19 UTC) #3
charliea (OOO until 10-5)
Please remove BUG= before submitting (the bug you pointed to isn't relevant)
4 years, 2 months ago (2016-10-20 12:29:55 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2432993005/1
4 years, 2 months ago (2016-10-20 17:41:29 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: Catapult Presubmit on master.tryserver.client.catapult (JOB_FAILED, https://build.chromium.org/p/tryserver.client.catapult/builders/Catapult%20Presubmit/builds/4849)
4 years, 2 months ago (2016-10-20 18:25:41 UTC) #9
alexandermont
4 years, 2 months ago (2016-10-20 18:27:25 UTC) #11
sullivan
lgtm, but this is an interesting style rule: how did we come to deciding on ...
4 years, 2 months ago (2016-10-20 19:25:11 UTC) #13
alexandermont
On 2016/10/20 at 19:25:11, sullivan wrote: > lgtm, but this is an interesting style rule: ...
4 years, 2 months ago (2016-10-20 22:18:35 UTC) #14
alexandermont
4 years, 2 months ago (2016-10-20 22:18:44 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2432993005/1
4 years, 2 months ago (2016-10-20 22:18:47 UTC) #17
commit-bot: I haz the power
Committed patchset #1 (id:1) as https://chromium.googlesource.com/external/github.com/catapult-project/catapult/+/09daee5a7629b57580f19eb18e98b231dae6b1e7
4 years, 2 months ago (2016-10-20 22:49:50 UTC) #19
sullivan
4 years, 2 months ago (2016-10-21 13:43:31 UTC) #20
Message was sent while issue was closed.
On 2016/10/20 22:18:35, alexandermont wrote:
> On 2016/10/20 at 19:25:11, sullivan wrote:
> > lgtm, but this is an interesting style rule: how did we come to deciding on
> it? I looked at the documentation and it doesn't have an opinion on what style
> is best: http://eslint.org/docs/rules/one-var
> 
> I don't know, but it is in the Google style guide (section 5.1.2)

Oh, great! I'm fine with it if we're just conforming to Google style.

Powered by Google App Engine
This is Rietveld 408576698