Files
workspace/code/app/base-expo-app/eslint.config.js
T
2025-10-19 22:45:26 +08:00

24 lines
528 B
JavaScript

// 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
]
})