2 Star 1 Fork 0

慕曦/vue3_ts_init

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
.eslintrc.js 1.17 KB
一键复制 编辑 原始数据 按行查看 历史
张祥 提交于 2022-04-11 15:42 . first commit
/*
* @Author: your name
* @Date: 2021-11-29 13:45:00
* @LastEditTime: 2022-04-11 14:48:09
* @LastEditors: Please set LastEditors
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @FilePath: \vue3_ts_init\.eslintrc.js
*/
module.exports = {
root: true,
env: {
node: true,
},
extends: [
"plugin:vue/vue3-essential",
"eslint:recommended",
"@vue/typescript/recommended",
],
parserOptions: {
ecmaVersion: 2020,
},
rules: {
"no-console": process.env.NODE_ENV === "production" ? "warn" : "off",
"no-debugger": process.env.NODE_ENV === "production" ? "warn" : "off",
"@typescript-eslint/no-explicit-any": ["off"],
"@typescript-eslint/no-empty-function": ["off"],
"no-undef": ["off"],
"@typescript-eslint/explicit-module-boundary-types": ["off"],
"@typescript-eslint/no-unused-vars": ["off"],
"no-self-assign": ["off"],
"@typescript-eslint/no-var-requires": 0,
},
overrides: [
{
files: [
"**/__tests__/*.{j,t}s?(x)",
"**/tests/unit/**/*.spec.{j,t}s?(x)",
],
env: {
mocha: true,
},
},
],
};
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/Zhang17839092765/vue3_ts_init.git
git@gitee.com:Zhang17839092765/vue3_ts_init.git
Zhang17839092765
vue3_ts_init
vue3_ts_init
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385