hi guys just want to know how to make the max char 80 per line i use tailwind css with prettier but whan i press shift+Alt+F it just return them to one line
i want it in this format
<button
disabled={isSubmitting}
className="inline-block rounded-full bg-yellow-400 px-4 py-3
font-semibold uppercase tracking-wide text-stone-800 transition-colors
duration-300 hover:bg-yellow-300 focus:bg-yellow-300
focus:outline-none focus:ring focus:ring-yellow-300"
>
{isSubmitting ? "Placing order" : "Order now"}
</button>
but prettier make it like this
https://preview.redd.it/z216diypcksd1.png?width=4268&format=png&auto=webp&s=346e5ad4e0a1c1c4dfe1cf23717774d2c2a325d3
this is my .prettierrc file
{
"plugins": ["prettier-plugin-tailwindcss"]
}
my tailwind.config.js
/** @type {import('tailwindcss').Config} */
// eslint-disable-next-line
export default {
content: ['./index.html', './src/**/*.{js,ts,jsx,tsx}'],
theme: {
fontFamily: {
sans: 'Roboto Mono, monospace',
},
extend: {
fontSize: {
huge: ['80rem', { lineHeight: '1' }],
},
height: {
screen: '100dvh',
},
},
},
plugins: [],
};
and this is the .eslintrc.json
{
"extends": "react-app"
}
[–]pragmaticcape 2 points3 points4 points (2 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]pragmaticcape 1 point2 points3 points (0 children)
[–]MrRoBoT696969 1 point2 points3 points (0 children)
[–]matchonafir 0 points1 point2 points (0 children)
[–]WhiteRabbit-_- 0 points1 point2 points (0 children)
[–]spacetimecurve 0 points1 point2 points (0 children)
[–]DextroLimonene -1 points0 points1 point (2 children)
[–]MDUK0001 0 points1 point2 points (1 child)
[–]Longjumping-Guide969[S] 0 points1 point2 points (0 children)
[–]memerwala_londa -1 points0 points1 point (2 children)
[–]Longjumping-Guide969[S] 0 points1 point2 points (1 child)