Answer the question
In order to leave comments, you need to log in
How to configure JavaScript arrow function wrapping in VS Code?
There is a function:
const calculate = (firstNum, secondNum, operationType) => operations[operationType](firstNum, secondNum);
const calculate = (firstNum, secondNum, operationType) =>
operations[operationType](firstNum, secondNum);
const calculate = (
firstNum,
secondNum,
operationType,
) => operations[operationType](firstNum, secondNum);
const calculate = (firstNum, secondNum, operationType) =>
operations[operationType](firstNum, secondNum);
Answer the question
In order to leave comments, you need to log in
Can't figure out Prettier does it
Prettier has its own formatting config, try to demolish it and install Prettier ESLint
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question