Chromium Code Reviews| Index: chrome/browser/resources/chromeos/chromevox/.eslintrc.js |
| diff --git a/chrome/browser/resources/chromeos/chromevox/.eslintrc.js b/chrome/browser/resources/chromeos/chromevox/.eslintrc.js |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..06b7bfc89be54c37d61aefac9956799202241c2c |
| --- /dev/null |
| +++ b/chrome/browser/resources/chromeos/chromevox/.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 chromevox. |
| + 'no-restricted-properties': 'off', |
|
Dan Beam
2017/06/05 19:04:01
what if we write other checked based on no-restric
dpapad
2017/06/05 19:11:58
It would be disabled also. The granularity we have
Dan Beam
2017/06/05 19:23:10
i was mainly asking to see if we have a plan.
the
dpapad
2017/06/05 19:32:40
Yes, already checked number of occurrences before
|
| + }, |
| +}; |