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
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
above is default t3 tailwind.config.ts file
repo: https://github.com/Apestein/ui-playground1 Reply
seems I can just put the tailwind.config.js file in .eslintignore but I don't know if this will do anything unintentional. Actually I don't understand why the tailwind.config file needs to be in typescript at all...