2 Star 7 Fork 4

竹栏呓语/ minio-plus-docs

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
eslint.config.js 1.34 KB
一键复制 编辑 原始数据 按行查看 历史
LJQ 提交于 2024-07-25 16:05 +08:00 . create monorepo
import antfu from '@antfu/eslint-config'
export default antfu(
{
formatters: {
css: true,
html: true,
markdown: true,
},
ignores: [
'cache*',
'dist*',
'node_modules',
'*.log',
'package-lock.json',
],
},
{
files: ['**/*.{ts,vue}'],
rules: {
'curly': ['error', 'all'],
'import/order': [
'error',
{
'alphabetize': {
order: 'asc',
},
'groups': [
'builtin',
'external',
'internal',
['parent', 'sibling', 'index'],
'object',
'type',
],
'newlines-between': 'always',
'pathGroups': [
{
group: 'internal',
pattern: '@/**',
},
],
'pathGroupsExcludedImportTypes': ['type'],
},
],
'jsdoc/require-returns-description': 'off',
'node/prefer-global/process': 'off',
'ts/consistent-type-definitions': 'off',
'unused-imports/no-unused-imports': 'error',
},
},
{
files: ['eslint.config.js'],
rules: {
'perfectionist/sort-objects': [
'error',
{
order: 'asc',
type: 'natural',
},
],
},
},
)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/lxp135/minio-plus-docs.git
git@gitee.com:lxp135/minio-plus-docs.git
lxp135
minio-plus-docs
minio-plus-docs
master

搜索帮助