[core] add inline config for JSHint assuming es6 synthax and some global