Skip to content

7.6.0

Compare
Choose a tag to compare
@EvgenyOrekhov EvgenyOrekhov released this 08 Dec 15:35
· 1710 commits to master since this release

Add hardcore/node config.

Use it in addition to other configs:

{
    "extends": ["hardcore", "hardcore/fp", "hardcore/node"]
}

Or, if your project contains both non-Node and Node files, use it like this:

{
    "extends": ["hardcore", "hardcore/fp"],
    "env": {
        "browser": true
    },
    "overrides": [
        {
            "files": ["server/**/*.js"],
            "extends": ["hardcore/node"],
            "env": {
                "browser": false
            }
        }
    ]
}