3 Star 1 Fork 3

Jack魏/YiYi-Vue

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.eslintrc.cjs 1.02 KB
一键复制 编辑 原始数据 按行查看 历史
/**
* Copyright (c) Leslie 2023 - 2023, All Rights Reserved.
* eslint 配置
*/
module.exports = {
env: {
browser: true,
es2021: true,
node: true,
'vue/setup-compiler-macros': true
},
extends: [
'standard-with-typescript',
'eslint:recommended', // 使用推荐的eslint
'plugin:vue/vue3-recommended' // 使用插件支持vue3
],
overrides: [
{
env: {
node: true
},
files: [
'.eslintrc.{js,cjs}'
],
parserOptions: {
sourceType: 'script'
}
}
],
parser: 'vue-eslint-parser',
parserOptions: {
ecmaVersion: 'latest',
tsconfigRootDir: __dirname,
project: ['tsconfig.json'],
extraFileExtensions: ['.vue'],
sourceType: 'module',
parser: '@typescript-eslint/parser'
},
plugins: [
'vue'
],
rules: {
quotes: 0,
'no-unused-vars': 1,
'no-mixed-spaces-and-tabs': 0,
'vue/multi-word-component-names': 0,
"@typescript-eslint/quotes": 0,
"@typescript-eslint/no-var-requires": 0
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/jack0240/yiyi-vue.git
git@gitee.com:jack0240/yiyi-vue.git
jack0240
yiyi-vue
YiYi-Vue
dev

搜索帮助