Typescript-Eslint Error

Parsing error: ESLint was configured to run on <tsconfigRootDir>/tailwind.config.js using parserOptions.project: <tsconfigRootDir>/tsconfig.json
However, that TSConfig does not include this file. Either:
- Change ESLint's list of included files to not include this file
- Change that TSConfig to include this file
- Create a new TSConfig that includes this file and include it in your parserOptions.project

/** @type {import('tailwindcss').Config} */

Above is in tailwind.config.js file. Error shows on this very first line, something about it's import maybe because my other t3 project doesn't have this problem
import { type Config } from "tailwindcss";

export default {
  content: ["./src/**/*.{js,ts,jsx,tsx}"],
  theme: {
    extend: {},
  },
  plugins: [],
} satisfies Config;

above is default t3 tailwind.config.ts file
repo: https://github.com/Apestein/ui-playground
Was this page helpful?