tailwindcss config A require style import is forbidden error
Problem:
A `require()` style import is forbidden.eslint@typescript-eslint/no-require-imports
with
plugins: [require("tailwindcss-animate")],
Solution:
add to the top of your tailwind.config.js
/* eslint-disable @typescript-eslint/no-require-imports */