What is Code Climate?
What is ESLint?
Need advice about which tool to choose?Ask the StackShare community!
Sign up to add, upvote and see more prosMake informed product decisions
What are the cons of using ESLint?
Sign up to get full access to all the companiesMake informed product decisions
Sign up to get full access to all the tool integrationsMake informed product decisions
There are few things in python you do not learn till it punches you in the face. Mutable data types. I started using python 6 months back and "assumed" arguments are passed by value. One example where this mutable argument can behave in a way that you do not expect it to be is if you have lets say "" as a default argument of function. Example:
def myfunc( input= ) blah blah
This does something bad and Quantified Code detects this. They point out that this is not what you expect. They suggest better ways to achieve the same. This is good stuff.
One piece of advise is to not to try fix everything that QC suggests. Fix the dangerous ones. Do not become a victim if instantaneous gratification QC provides.
This is one of the key tools I can't leave out when I'm working on a project, basically it is mandatory for me to use it on my Ruby on Rails projects. I think the price is a little expensive for a "Solo plan" but if you can get your client to pay, it's definitely worth it. You or the future developers that will continue with the project will thank you!
We use it as part of CI process to check code quality, to ensure that we're not inadvertently making common mistakes and can keep the smells and scope of code changes in line and clean. Having this step here should make future support and additions much more efficient and easy to understand.
I use my IDE’s (Visual Studio Code) ESLint integration to validate the code I write in realtime.
Check duplicate code, complexity and common pitfalls. Code coverage indicator for Github README file.
ESLint is used in the build process for the Promethean TV Broadcast Center Tool.
checking our repo code quality.
Enforce code-style and non error-prone code for maintaining the module