This makes writing code with all the distraction difficult, which results in people adding eslint-disable while debugging, which means the protection from merging it into master is gone :/
Could this range be reduced to only include the identifier, like TSLint?
With TSLint's ban rule configured to ban
it.only()
, this code would report a warning for theonly
part:This was nice because it is unobtrusive when debugging a test but makes sure you don't accidentally commit & merge the
only
into master.The ESLint plugin unfortunately reports an error for the entire function call:
This makes writing code with all the distraction difficult, which results in people adding
eslint-disable
while debugging, which means the protection from merging it into master is gone :/Could this range be reduced to only include the identifier, like TSLint?