Replace jshint and jscs with ESLint
JSCS is very outdated and got merged with ESLint. If we switch over to ESLint then we also won't need to use jshint any longer. I would suggest going with the predefined Google guidelines (Minus the max-length check for lines). This will require a lot of refactoring for many files in the client
, i18n
, imports
and server
folders but...
- There is less setup to enable ESLint in Webstorm compared to jshint and jscs
- Webstorm seems to have better support for ESLint
- You can auto-convert files to the new ESLint rules
- The rules will force us to write cleaner code
- We have a lot of questionable jshint and jscs rules in cards since the move to 3.0
Progress for folders:
-
client -
imports/api -
imports/config -
imports/startup -
imports/ui -
imports/util -
server
Misc:
-
Integrated to pipeline