[
    {
        "tool": "trailing-spaces",
        "files": [ "**", "!node_modules" ]
    },
    {
        "tool": "jshint",
        "files": ["**/*.js", "!node_modules/" ]
    },
    {
        "tool": "json",
        "files": ["package.json"],
        "config": {
            "canonical": false,
            "indent": 2
        }
    }
]

[
    {
        "tool": "trailing-spaces",
        "files": [ "**", "!node_modules" ]
    },
    {
        "tool": "jshint",
        "files": ["**/*.js", "!node_modules/" ]
    },
    {
        "tool": "json",
        "files": ["package.json"],
        "config": {
            "canonical": false,
            "indent": 2
        }
    },
    {
        "tool": "json",
        "files": ["**/*.json", "!node_modules", "!package.json"]
    },
    {
        "tool": "npm-packages",
        "files": ["package.json"]
    }
]

Enable npm + general JSON linting.
Misc: Enable npm + general JSON linting.
