2 Star 2 Fork 0

siaoynli/react-ueditor

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.eslintrc.js 767 Bytes
一键复制 编辑 原始数据 按行查看 历史
siaoynli 提交于 2018-12-20 13:22 . react ueditor
module.exports = {
env: {
browser: true,
commonjs: true,
es6: true,
node: true,
},
extends: ['standard', 'standard-react'],
parser: 'babel-eslint',
parserOptions: {
sourceType: 'module',
allowImportExportEverywhere: true,
ecmaFeatures: {
jsx: true
},
},
plugins: [
'react',
'xss',
],
rules: {
'react/display-name': 0,
'react/prop-types': 0,
'camelcase': 0,
'eqeqeq': 0,
'max-len': ['error', 120],
'comma-dangle': ['error', 'always-multiline'],
'space-before-function-paren': ['error', 'never'],
'object-curly-spacing': ['error', 'never'],
'arrow-parens': ['error', 'as-needed'],
indent: ['error', 2],
quotes: ['error', 'single'],
'no-console': 0,
},
};
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/siaoynli/react-ueditor.git
git@gitee.com:siaoynli/react-ueditor.git
siaoynli
react-ueditor
react-ueditor
master

搜索帮助