...

/

Solution Review: Linting with Grunt

Solution Review: Linting with Grunt

Linting JavaScript can save hours of work in the long term. Let's review how to lint with Grunt.

We'll cover the following...

Solution

{
    "rules": {
        "eqeqeq": "off",
        "curly": "warn",
        "quotes": ["warn", "double"]
    }
}

Explanation

Gruntfile.js

  • Line 4: The unique configuration parameters of the grunt-eslint
...