This site uses cookies for analytics. By continuing to browse this site, you agree to this use.

Babel configuration hint set

Babel configuration hint set (babel-config)

babel-config contains hints to check if your Babel configuration has the most recommended configuration.

Why is this important?

Babel needs to be properly configured to reflect user’s preference.

Hints

How to use this hint?

This package is installed automatically by webhint:

npm install hint --save-dev

To use it, activate it via the .hintrc configuration file:

{
    "connector": {...},
    "formatters": [...],
    "hints": {
        "babel-config/is-valid": "error",
        ...
    },
    "parsers": [...],
    ...
}

Note: The recommended way of running webhint is as a devDependency of your project.

Further Reading