// @ts-check
import withNuxt from './.nuxt/eslint.config.mjs'
import tailwindcss from 'eslint-plugin-tailwindcss'

export default withNuxt({
  plugins: {
    tailwindcss
  },
  rules: {
    'tailwindcss/no-custom-classname': 'warn',
    'tailwindcss/no-contradicting-classname': 'warn',
    'tailwindcss/classnames-order': 'warn'
  },
  settings: {
    tailwindcss: {
      config: './tailwind.config.ts',
      tags: ['template'], // for Vue SFC templates
      callees: ['cn', 'clsx', 'classNames']
    }
  }
})
