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.


How to use this hint?

To use it you will have to install it via npm:

npm install @hint/hint-babel-config

Note: You can make npm install it as a devDependency using the --save-dev parameter, or to install it globally, you can use the -g parameter. For other options see npm‘s documentation.

And then activate it via the .hintrc configuration file:

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

Further Reading