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

Side by Side Diff: .eslintrc.js

Issue 2909503003: WebUI: Enable ESLint rule for missing semicolons. (Closed)
Patch Set: Undo local_ntp changes from this CL. Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 module.exports = { 5 module.exports = {
6 'root': true, 6 'root': true,
7 'env': { 7 'env': {
8 'browser': true, 8 'browser': true,
9 'es6': true 9 'es6': true
10 }, 10 },
11 'rules': { 11 'rules': {
12 // Enabled checks. 12 // Enabled checks.
13 'no-extra-semi': 'error', 13 'no-extra-semi': 'error',
14 'semi': ['error', 'always'],
14 // TODO(dpapad): Add more checks according to our styleguide. 15 // TODO(dpapad): Add more checks according to our styleguide.
15 }, 16 },
16 }; 17 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698