mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-21 20:56:09 +03:00
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:
parent
09a119afe3
commit
ab0ddcae3d
@ -46,6 +46,7 @@
|
|||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "grunt test",
|
"test": "grunt test",
|
||||||
"prepare": "grunt build"
|
"prepare": "grunt build",
|
||||||
|
"lint": "eslint ./src"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user