1 Star 28 Fork 4

ayangweb/BongoCat

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
eslint.config.ts 751 Bytes
一键复制 编辑 原始数据 按行查看 历史
ayangweb 提交于 2025-04-25 22:38 +08:00 . feat: 全新升级偏好设置 UI (#89)
import antfu from '@antfu/eslint-config'
export default antfu({
formatters: true,
unocss: true,
rules: {
'antfu/if-newline': 'off',
'style/brace-style': ['error', '1tbs'],
'ts/no-use-before-define': 'off',
'unused-imports/no-unused-imports': 'error',
'perfectionist/sort-imports': 'off',
'import/order': [
'error',
{
'newlines-between': 'always',
'groups': ['type', 'builtin', 'external', 'internal', 'parent', 'sibling', 'index', 'object'],
'alphabetize': {
order: 'asc',
caseInsensitive: true,
},
},
],
'vue/attributes-order': ['error', { alphabetical: true }],
'vue/max-attributes-per-line': 'error',
},
ignores: ['**/*.toml'],
})
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
TypeScript
1
https://gitee.com/ayangweb/BongoCat.git
git@gitee.com:ayangweb/BongoCat.git
ayangweb
BongoCat
BongoCat
master

搜索帮助