加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.eslintrc.yaml 837 Bytes
一键复制 编辑 原始数据 按行查看 历史
Alexander.Trofimov 提交于 2017-10-20 18:10 . no message
root: true
env:
browser: true
rules:
# Possible Errors
# http://eslint.org/docs/rules/#possible-errors
for-direction: error
no-debugger: error
no-dupe-args: error
no-dupe-keys: error
no-duplicate-case: error
no-empty-character-class: error
no-ex-assign: error
no-extra-semi: error
no-func-assign: error
no-invalid-regexp: error
no-irregular-whitespace: error
no-obj-calls: error
no-unreachable: error
no-unsafe-negation: error
# Best Practices
# http://eslint.org/docs/rules/#best-practices
no-proto: error
no-redeclare: error
no-self-assign: error
no-unused-labels: error
no-useless-return: error
# Variables
# http://eslint.org/docs/rules/#variables
no-delete-var: error
# Stylistic Issues
# http://eslint.org/docs/rules/#stylistic-issues
linebreak-style: [error, unix]
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化