We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent af11d99 commit 7425c65Copy full SHA for 7425c65
1 file changed
eslint.config.js
@@ -2,11 +2,10 @@ import antfu from "@antfu/eslint-config";
2
import tailwindcss from "eslint-plugin-better-tailwindcss";
3
4
const twConfig = {
5
- plugins: {
6
- "better-tailwindcss": tailwindcss,
7
- },
+ extends: [
+ tailwindcss.configs["recommended-warn"],
+ ],
8
rules: {
9
- ...tailwindcss.configs["recommended-warn"].rules,
10
"better-tailwindcss/enforce-consistent-line-wrapping": "off",
11
"better-tailwindcss/no-unregistered-classes": ["warn"],
12
},
0 commit comments