eslint-plugin-momentjs
March 09, 2019
About a month ago, I was working on some stuff using Javascript and our favorite “make-dates-sane” library, Moment.js. As you might expect, they have a number of suggestions on how to use Moment.js in such a way that reduces the potential for errors - strict mode parsing, etc. Unfortunately no automatic mechanism for enforcing those suggestions existed.