1 Star 1 Fork 1

hboot/rsup-web

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
eslint.config.js 613 Bytes
一键复制 编辑 原始数据 按行查看 历史
hboot 提交于 2024-08-24 01:38 +08:00 . style: 页面样式调整
import globals from "globals";
import pluginJs from "@eslint/js";
import pluginVue from "eslint-plugin-vue";
import eslintConfigPrettier from "eslint-config-prettier";
import unocss from "@unocss/eslint-config/flat";
export default [
unocss,
{ files: ["**/*.{js,mjs,cjs,vue,jsx}"] },
{ languageOptions: { globals: globals.browser } },
pluginJs.configs.recommended,
...pluginVue.configs["flat/essential"],
eslintConfigPrettier,
{
rules: {
"no-undef": "warn",
"no-unused-vars": "warn",
"vue/multi-word-component-names": "off",
},
},
{
ignores: [".vite/**"],
},
];
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/hboot/rsup-web.git
git@gitee.com:hboot/rsup-web.git
hboot
rsup-web
rsup-web
master

搜索帮助