Skip to main content

Posts

Showing posts from January, 2019

Lint your Oracle JET code with ESLint

Javascript has grown so much in just past 5-6 years, it's quite unbelievable. More customers wants to build their front-end using one or the other JavaScript framework. But, this massive growth also comes with some drawbacks, one of them is code quality and lack of proper standards. Even though each team has their own standards, often they get lost when development timelines gets a bit stringent. I come from a Java world, so these coding guidelines/standards gets by default applied by a Java compiler or an IDE. (which we also conveniently ignore most of the time). This is where ESLint comes in. A very easy to use and very well documented tool to impose standards and coding guidelines to your JavaScript project. What is Linting? Lint was the name originally given to a particular program that flagged some suspicious and non-portable constructs (likely to be bugs) in C language source code. The term is now applied generically to tools that flag suspicious usage in software