Using ESLint instead of JSHint

 I have switched from using JSHint to ESLint to find mistakes in my code.


ESLint points out where a variable is assigned a value but the variable is not used.  For parameters to functions, I try to remember to also change where the function is called.  Sometimes these changes cascade up through parent function calls.


ESLint can process the 10 megabytes of JavaScript in my game. ESLint can do this on an old Windows7 computer with not much memory.


I use the online ESLint at 'eslint.org/play'.


I read about ESLint in an article in 'Smashing' magazine.


There are more tips at: bbingo.xyz/techtips/




Comments

Popular posts from this blog

webkit-tap-highlight-color in CSS

Steve Jobs quotes