// eslint.config.mjs
import antfu from '@antfu/eslint-config'

export default antfu({
  react: true,
  rules: {
    // 禁用缩进检查
    'style/indent': 'off',
    'n/prefer-global/process': ['off'], // 关闭process报错
    'react-hooks/exhaustive-deps': ['off'],
    'ban-ts-comment': ['off'],
  },
})
