0👍
Use eslint cli and run it with the --fix
flag. This can fix a lot of these issues with the linter. https://eslint.org/docs/user-guide/migrating-from-jscs#–fix
Other than stylistic changes and es6 syntactic sugar, it will work just fine in the browser, so there’s no need to rewrite anything.
Source:stackexchange.com