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
3 // found in the LICENSE file.
13 'no-extra-semi': 'error',
14 'no-new-wrappers': 'error',
15 'no-restricted-properties': ['error', {
17 'property': 'getElementById',
18 'message': 'Use $(\'id\') or getSVGElement(\'id\') ' +
19 'from chrome://resources/js/util.js instead of ' +
20 'document.getElementById(\'id\')',
23 'semi': ['error', 'always'],
25 // TODO(dpapad): Add more checks according to our styleguide.