This commit is contained in:
oneao committed 2025-10-19 22:45:26 +08:00
1 parent d87e067cfd
commit d4b11a1c55
13 files changed
+13679

No files matched your search

+24
View File
@@ -0,0 +1,24 @@
// eslint.config.js
import antfu from '@antfu/eslint-config'
export default antfu({
// Or customize the stylistic rules
stylistic: {
indent: 2, // 4, or 'tab'
quotes: 'single', // or 'double'
},
// TypeScript and Vue are autodetected, you can also explicitly enable them:
typescript: true,
vue: true,
// Disable jsonc and yaml support
jsonc: false,
yaml: false,
// `.eslintignore` is no longer supported in Flat config, use `ignores` instead
ignores: [
'**/fixtures',
// ...globs
]
})