1 Star 0 Fork 0

wuchan / vue框架

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
.eslintrc.js 861 Bytes
一键复制 编辑 原始数据 按行查看 历史
wuchan 提交于 2021-03-12 16:13 . 初始化
/**
* eslint config
* ESlint配置规则:http://eslint.cn/docs/rules/
* AlloyTeam ESLint 规则
* https://github.com/AlloyTeam/eslint-config-alloy
* 在线浏览规则描述及示例:https://alloyteam.github.io/eslint-config-alloy/
*/
module.exports = {
root: true,
env: {
node: true
},
'extends': [
// 'plugin:vue/essential',
// '@vue/standard',
'eslint-config-alloy/vue'
],
globals: {
'@': false,
'~V': false,
'~C': false,
'~A': false
},
rules: {
// @fixable 一个缩进必须用两个空格替代
'indent': ['error', 2],
'no-multi-spaces': [2, { exceptions: { "VariableDeclarator": true } }],
"vue/no-parsing-error": [2, { "x-invalid-end-tag": false }]
},
parserOptions: {
parser: 'babel-eslint'
}
}
CSS
1
https://gitee.com/wwwchan/vue-framework.git
git@gitee.com:wwwchan/vue-framework.git
wwwchan
vue-framework
vue框架
master

搜索帮助