IGNF / road2

NodeJS routing server aggregating several popular routing engines (video presentation (french) : https://peertube.fr/w/75fwFoW2GP8tQSGLUXUpPP)
https://ignf.github.io/road2/
GNU General Public License v3.0
11 stars 3 forks source link

[lint] add pre-commit rules #18

Open jmkerloch opened 1 year ago

jmkerloch commented 1 year ago

We need to define pre-commit rules to add some linters.

I'm not familiar with pre-commit with node.js.

Maybe we could use Husky. See this article https://levelup.gitconnected.com/how-to-run-eslint-using-pre-commit-hook-25984fbce17e