Bearsy
Bearsy
TTCTheo's Typesafe Cult
Created by Bearsy on 7/12/2023 in #questions
Prettier Error: Invalid host defined options
I upgraded to the latest version of prettier
"@types/prettier": "^2.7.3",
"prettier": "^3.0.0",
"prettier-plugin-tailwindcss": "^0.3.0"
"@types/prettier": "^2.7.3",
"prettier": "^3.0.0",
"prettier-plugin-tailwindcss": "^0.3.0"
json And now prettier always errors: ["ERROR" - 02:56:21] Error handling text editor change ["ERROR" - 02:56:21] Invalid host defined options TypeError: Invalid host defined options Not sure if it's actually the version or something else, because when I downgrade again it still breaks in that project. Any ideas why? Prettier conf looks like this:
/** @type {import("prettier").Config} */
const config = {
plugins: [require.resolve("prettier-plugin-tailwindcss")],
};

module.exports = config;
/** @type {import("prettier").Config} */
const config = {
plugins: [require.resolve("prettier-plugin-tailwindcss")],
};

module.exports = config;
And vs code settings:
"prettier.configPath": "prettier.config.cjs",
"prettier.prettierPath": "node_modules//prettier"
"prettier.configPath": "prettier.config.cjs",
"prettier.prettierPath": "node_modules//prettier"
3 replies
TTCTheo's Typesafe Cult
Created by Bearsy on 5/21/2023 in #questions
Issue with Font Optimization Not Applying Correctly to Absolutely Positioned Elements
1 replies
TTCTheo's Typesafe Cult
Created by Bearsy on 4/24/2023 in #questions
Simplify Renaming a Field in Prisma Schema with PlanetScale
5 replies