1 Star 0 Fork 0

games.gong/vue3+vite+ts+element plus

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
.eslintrc.js 819 Bytes
一键复制 编辑 原始数据 按行查看 历史
弓艳军 提交于 2023-07-28 13:14 . 登录修改
// .eslintrc.js
module.exports = {
env: {
browser: true,
es2021: true,
node: true,
},
parser: 'vue-eslint-parser',
extends: ['plugin:plugin:vue/vue3-recommended', 'standard', 'plugin:prettier/recommended'],
parserOptions: {
ecmaVersion: 'latest',
parser: '@typescript-eslint/parser',
sourceType: 'module',
},
plugins: ['vue', '@typescript-eslint', '@vue/prettier'],
rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
'vue/multi-word-component-names': 0,
'prettier/prettier': [
'error',
{
trailingComma: 'es5',
singleQuote: true,
},
],
},
globals: {
defineProps: 'readonly',
},
eslintIgnore: ['node_modules/**'],
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/gamesgong/vue3-vite-ts-element-plus.git
[email protected]:gamesgong/vue3-vite-ts-element-plus.git
gamesgong
vue3-vite-ts-element-plus
vue3+vite+ts+element plus
master

搜索帮助