Use inheritance for jshint

Signed-off-by: Ian Macalinao <me@ian.pw>
Add jshint to pretest

Signed-off-by: Ian Macalinao <me@ian.pw>