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

Unified Diff: chrome/browser/resources/chromeos/select_to_speak/.eslintrc.js

Issue 2921783003: WebUI: Fix/suppress some existing violations of no-restricted-globals. (Closed)
Patch Set: Address comment. 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
Index: chrome/browser/resources/chromeos/select_to_speak/.eslintrc.js
diff --git a/chrome/browser/resources/chromeos/select_to_speak/.eslintrc.js b/chrome/browser/resources/chromeos/select_to_speak/.eslintrc.js
new file mode 100644
index 0000000000000000000000000000000000000000..a1eee24d6f222eac3b5a4635ea08d54d1897fad8
--- /dev/null
+++ b/chrome/browser/resources/chromeos/select_to_speak/.eslintrc.js
@@ -0,0 +1,15 @@
+// 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 = {
+ 'env': {
+ 'browser': true,
+ 'es6': true
+ },
+ 'rules': {
+ // Override restrictions for document.getElementById usage since,
+ // chrome://resources/js/util.js is not accessible for select_to_speak.
+ 'no-restricted-properties': 'off',
+ },
+};

Powered by Google App Engine
This is Rietveld 408576698