1 Star 0 Fork 0

Mugua/hexo-theme-yilia-plus

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.eslintrc.js 738 Bytes
一键复制 编辑 原始数据 按行查看 历史
思伟 提交于 2019-07-19 17:24 . sync yilia
module.exports = {
extends: ['eslint-config-airbnb'],
env: {
browser: true,
node: true,
mocha: true,
jest: true,
es6: true
},
parser: 'babel-eslint',
parserOptions: {
ecmaVersion: 6,
ecmaFeatures: {
jsx: true,
experimentalObjectRestSpread: true
}
},
plugins: [
'react',
'babel'
],
rules: {
'curly': [2, 'all'],
'func-names': 0,
'prefer-const': 0,
'arrow-body-style': 0,
'react/sort-comp': 0,
'react/prop-types': 0,
'react/jsx-first-prop-new-line': 0,
'import/no-unresolved': 0,
'no-param-reassign': 0,
'no-return-assign': 0,
'max-len': [2, {
'code': 120
}],
'consistent-return': 0,
'comma-dangle': 0
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/sady/hexo-theme-yilia-plus.git
git@gitee.com:sady/hexo-theme-yilia-plus.git
sady
hexo-theme-yilia-plus
hexo-theme-yilia-plus
master

搜索帮助

23e8dbc6 1850385 7e0993f3 1850385