diff --git a/eslint.config.js b/eslint.config.js index 5a857d8..9436f9d 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -2,6 +2,7 @@ import js from '@eslint/js'; import astro from 'eslint-plugin-astro'; import tailwindcss from 'eslint-plugin-tailwindcss'; import ts from 'typescript-eslint'; +import tailwindConfig from './tailwind.config'; /** @type {import('eslint').Linter.Config} */ export default [ @@ -29,5 +30,10 @@ export default [ // use prettier-plugin-tailwindcss for class sorting 'tailwindcss/classnames-order': 'off', }, + settings: { + tailwindcss: { + config: tailwindConfig, + }, + }, }, ];