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

Unified Diff: .eslintrc.js

Issue 2872703003: WebUI: Hook up ESLint to web_dev_style PRESUBMIT. (Closed)
Patch Set: Address comments. 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | OWNERS » ('j') | tools/web_dev_style/js_checker.py » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: .eslintrc.js
diff --git a/.eslintrc.js b/.eslintrc.js
new file mode 100644
index 0000000000000000000000000000000000000000..9b4b1037ce4fc136daafe0e66419f9a5ce13f2cb
--- /dev/null
+++ b/.eslintrc.js
@@ -0,0 +1,16 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+module.exports = {
+ 'root': true,
+ 'env': {
+ 'browser': true,
+ 'es6': true
+ },
+ 'rules': {
+ // Enabled checks.
+ 'no-extra-semi': 'error',
+ // TODO(dpapad): Add more checks according to our styleguide.
+ },
+};
« no previous file with comments | « no previous file | OWNERS » ('j') | tools/web_dev_style/js_checker.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698