module.exports = {
  extends: ['@antfu', 'plugin:prettier/recommended', 'turbo'],
  plugins: ['prettier'],
  rules: {
    curly: ['error', 'all'],
    'vue/no-setup-props-destructure': 0,
    'no-console': ['error', { allow: ['warn', 'error'] }],
    'unused-imports/no-unused-vars': 0,
    '@typescript-eslint/no-unused-vars': ['error', { argsIgnorePattern: '^_', varsIgnorePattern: '^_' }],
    'prettier/prettier': [
      'error',
      {
        singleQuote: true,
        trailingComma: 'all',
        semi: false,
        quoteProps: 'consistent',
        bracketSpacing: true,
        printWidth: 130,
      },
    ],
    'antfu/if-newline': 0,
    'antfu/generic-spacing': 0,
  },
}
