222
223 wait: 0,
224 abortThreshold: 0, // disabled
225 abort: function noop () {}, 226
227 minRotation: -Math.PI / 2,
228 maxRotation: Math.PI / 2,
Having empty functions hurts readability, and is considered a code-smell. There's almost always a way to avoid using them. If you must use one, consider adding a comment to inform the reader of its purpose.
getUser('SwaGaLisTiQuE', () => {})
function f() {}
getUser('SwaGaLisTiQuE', () => {
// empty because <reason>
})
function f() {
// intentionally empty. <reason>
}