If a lint
scripts exists in package.json, run it after bumping the version
field, and before publishing.
Is the feature request related to a problem?
Kind of. It makes the expiring-todo-comments eslint rule really helpful. You can put TODOs in the code like this one, which basically say "don't forget to do XYZ before the next major version". Then the lint task will automatically fail if you do forget about it.
Obviously, it'll also catch various other problems that might not otherwise be known about.
Not sure exactly. Ideally it'd be able to go into prerequisite-tasks.js, but that might not be workable if the version has to be bumped first.
Manually put "npm run lint" in the "prepack" script. Short of that, hope that developers have good memories.
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too