fix javascript/eslint format
ESLint: add version check; expand config parameter.