On this page... (hide)

returning to esLint

I know I should be linting, but I just have been... lazy?

Yeah, lazy.

So, I've gotten back to working with eslint - the configurable, pluggable linter for JavaScript.

Here's the .eslintrc that I'm using at the moment, having fiddled with it only briefly.
I'm working with node.js for utilities, not deployment, so console statement are okay.

{
    "rules": {
        "indent": [
            2,
            2
        ],
        "quotes": [
            2,
            "single"
        ],
        "linebreak-style": [
            2,
            "windows"
        ],
        "semi": [
            2,
            "always"
        ],
        "no-console": 0
    },
    "env": {
        "node": true
    },
    "extends": "eslint:recommended"
}

Or, do it via prompts with eslint --init

TODO: Now for the big question - can I integrate eslint into VisualStudio ?!!?