Remove EWK_BRINGUP in gpu_info_collector_efl.cc
[platform/framework/web/chromium-efl.git] / .eslintrc.js
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.
4
5 module.exports = {
6   'root': true,
7   'env': {
8     'browser': true,
9     'es6': true,
10   },
11   'parserOptions': {
12     'ecmaVersion': 2017,
13   },
14   'rules': {
15     // Enabled checks.
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': [
21       'error',
22       {
23         'object': 'document',
24         'property': 'getElementById',
25         'message': 'Use $(\'id\') or getSVGElement(\'id\') ' +
26             'from chrome://resources/js/util.js instead of ' +
27             'document.getElementById(\'id\')',
28       },
29     ],
30     'semi': ['error', 'always'],
31
32     // TODO(dpapad): Add more checks according to our styleguide.
33   },
34 };