1 Star 2 Fork 5

grf123/chromium

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.eslintrc.js 751 Bytes
一键复制 编辑 原始数据 按行查看 历史
guorongfeng 提交于 2018-02-10 12:52 . Add hide files on top directory.
// 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 = {
'root': true,
'env': {
'browser': true,
'es6': true
},
'rules': {
// Enabled checks.
'no-extra-semi': 'error',
'no-new-wrappers': 'error',
'no-restricted-properties': ['error', {
'object': 'document',
'property': 'getElementById',
'message': 'Use $(\'id\') or getSVGElement(\'id\') ' +
'from chrome://resources/js/util.js instead of ' +
'document.getElementById(\'id\')',
},
],
'semi': ['error', 'always'],
// TODO(dpapad): Add more checks according to our styleguide.
},
};
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/guorongfeng/chromium.git
git@gitee.com:guorongfeng/chromium.git
guorongfeng
chromium
chromium
master

搜索帮助