Add a lint script

Make it easy to lint in stand-alone fashion.

Note that I'm going with a direct call to ESLint, as using `grunt eslint` leads to warnings about a circular dependency (per trace it seems to originate in istanbul?)
This commit is contained in:
Andrew A 2023-02-18 15:55:03 +01:00
parent 09a119afe3
commit ab0ddcae3d

View File

@ -46,6 +46,7 @@
},
"scripts": {
"test": "grunt test",
"prepare": "grunt build"
"prepare": "grunt build",
"lint": "eslint ./src"
}
}