💼 This rule is enabled in the ✅ recommended
config.
🔧 This rule is automatically fixable by the --fix
CLI option.
String#trimLeft()
and String#trimRight()
are aliases of String#trimStart()
and String#trimEnd()
const foo = bar.trimLeft();
const foo = bar.trimRight();
const foo = bar.trimStart();
const foo = bar.trimEnd();