Switching to double quotes and adding semicolon on save

I just created a new project with pnpm create t3-app@latest. How do I change the project prettier config so that it uses single quotes and no terminating semicolons?
1 Reply
currenthandle
currenthandle2y ago
I changed the prettier.config.cjs to:
/** @type {import("prettier").Config} */
const config = {
plugins: [require.resolve("prettier-plugin-tailwindcss")],
singleQuote: true,
semi: false,
};
module.exports = config;
/** @type {import("prettier").Config} */
const config = {
plugins: [require.resolve("prettier-plugin-tailwindcss")],
singleQuote: true,
semi: false,
};
module.exports = config;
but nothing changed.... if I delete prettier.config.cjs then my normal (prefered) prettier setting take over
Want results from more Discord servers?
Add your server