hello guys i need help with my code when i add perentheses prettier keeps on removing them, i did a little research and added .prettierrc in my root directory with the folloing:
{
"bracketSpacing": true,
"jsxBracketSameLine": false,
"singleQuote": true,
"trailingComma": "all",
"arrowParens": "always",
"removeParens": false
}
i am trying to add perentheses around my operation but it is not letting me
const modulo = (a, b) => {
return ((a * 10) % (b * 10)) / 10;
};
const divide = (a, b) => {
return (a * 10) / (b * 10) / 10;
};
const multiply = (a, b) => {
return (a * 10 * (b * 10)) / 100;
};
const subtraction = (a, b) => {
return (a * 10 - b * 10) / 10;
};
const addition = (a, b) => {
return (a * 10 + b * 10) / 10;
};
any help??? i tried to add perentheses around my functions but prettier isnt allowing me, for some reason it is allowing my first function to work but not other function