1 Star 0 Fork 0

Rex/项目开发模版

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.eslintrc.js 918 Bytes
一键复制 编辑 原始数据 按行查看 历史
Rex 提交于 2024-06-14 14:25 . test
module.exports = {
root: true,
env: {
browser: true,
node: true,
es6: true
},
parser: "vue-eslint-parser",
parserOptions: {
parser: "@typescript-eslint/parser",
ecmaVersion: 2020,
sourceType: "module",
jsxPragma: "React",
ecmaFeatures: {
jsx: true,
tsx: true
}
},
extends: [
"plugin:vue/vue3-recommended",
"plugin:@typescript-eslint/recommended",
"prettier",
"plugin:prettier/recommended"
],
rules: {
eqeqeq: "error",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/ban-ts-comment": "off",
"vue/multi-word-component-names": "off",
"no-undef": "off",
"no-unused-vars": "error",
"vue/no-unused-vars": "error",
"@typescript-eslint/no-unused-vars": "error",
"vue/multi-word-component-names": "off",
"no-console": ["warn", { allow: ["warn", "error", "table"] }],
"vue/no-useless-template-attributes": "off",
"vue/no-v-html": "off"
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/tzrex/template.git
git@gitee.com:tzrex/template.git
tzrex
template
项目开发模版
master

搜索帮助