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.
16 'brace-style': ['error', '1tbs'],
17 'curly': ['error', 'multi-line', 'consistent'],
18 'no-extra-semi': 'error',
19 'no-new-wrappers': 'error',
20 'no-restricted-properties': [
24 'property': 'getElementById',
25 'message': 'Use $(\'id\') or getSVGElement(\'id\') ' +
26 'from chrome://resources/js/util.js instead of ' +
27 'document.getElementById(\'id\')',
30 'semi': ['error', 'always'],
32 // TODO(dpapad): Add more checks according to our styleguide.