Fixed Prettier tailwind formatting
This commit is contained in:
parent
300f93dec4
commit
f33c73a3ad
4 changed files with 73 additions and 79 deletions
|
|
@ -1,5 +1,5 @@
|
|||
const config = {
|
||||
plugins: ["prettier-plugin-tailwindcss", "prettier-plugin-organize-imports"],
|
||||
plugins: ["prettier-plugin-organize-imports", "prettier-plugin-tailwindcss"],
|
||||
tailwindConfig: "./tailwind.config.mjs",
|
||||
organizeImportsSkipDestructiveCodeActions: true,
|
||||
};
|
||||
|
|
|
|||
|
|
@ -7,8 +7,7 @@ import tailwindcssDottedBackground from "tailwindcss-dotted-background";
|
|||
|
||||
import plugin from "tailwindcss/plugin";
|
||||
|
||||
// ! Check if removing the other module.exports made sense
|
||||
module.exports = {
|
||||
const config = {
|
||||
variants: {
|
||||
extend: {
|
||||
display: ["group-hover"],
|
||||
|
|
@ -253,3 +252,5 @@ module.exports = {
|
|||
tailwindcssDottedBackground,
|
||||
],
|
||||
};
|
||||
|
||||
export default config;
|
||||
Loading…
Add table
Add a link
Reference in a new issue