Add prettier configuration and dev dependencies
This commit is contained in:
parent
5c78039be0
commit
bd48dcdef6
11
astro/.prettierrc
Normal file
11
astro/.prettierrc
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"plugins": ["prettier-plugin-astro", "prettier-plugin-tailwindcss"],
|
||||||
|
"overrides": [
|
||||||
|
{
|
||||||
|
"files": "*.astro",
|
||||||
|
"options": {
|
||||||
|
"parser": "astro"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
@ -20,5 +20,9 @@
|
|||||||
"sharp": "^0.32.1",
|
"sharp": "^0.32.1",
|
||||||
"slate-serializers": "0.1.0",
|
"slate-serializers": "0.1.0",
|
||||||
"tailwindcss": "^3.0.24"
|
"tailwindcss": "^3.0.24"
|
||||||
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"prettier": "^2.8.8",
|
||||||
|
"prettier-plugin-tailwindcss": "^0.3.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -3095,6 +3095,11 @@ prettier-plugin-astro@^0.9.1:
|
|||||||
sass-formatter "^0.7.5"
|
sass-formatter "^0.7.5"
|
||||||
synckit "^0.8.4"
|
synckit "^0.8.4"
|
||||||
|
|
||||||
|
prettier-plugin-tailwindcss@^0.3.0:
|
||||||
|
version "0.3.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/prettier-plugin-tailwindcss/-/prettier-plugin-tailwindcss-0.3.0.tgz#8299b307c7f6467f52732265579ed9375be6c818"
|
||||||
|
integrity sha512-009/Xqdy7UmkcTBpwlq7jsViDqXAYSOMLDrHAdTMlVZOrKfM2o9Ci7EMWTMZ7SkKBFTG04UM9F9iM2+4i6boDA==
|
||||||
|
|
||||||
prettier@^2.8.3, prettier@^2.8.8:
|
prettier@^2.8.3, prettier@^2.8.8:
|
||||||
version "2.8.8"
|
version "2.8.8"
|
||||||
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.8.8.tgz#e8c5d7e98a4305ffe3de2e1fc4aca1a71c28b1da"
|
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.8.8.tgz#e8c5d7e98a4305ffe3de2e1fc4aca1a71c28b1da"
|
||||||
|
Loading…
Reference in New Issue
Block a user