brackets?
For example :
if (myVar === 90) return initAction();
To this
if (myVar === 90) {
return initAction();
}
https://eslint.org/docs/rules/curly
Thanks. But with prettier for eslint, it doesn't add newlines inside the brackets.
I don't see why it shouldn't
Обсуждают сегодня