@hint/hint-babel-config

hint that that checks if the Babel configuration is valid.

Usage no npm install needed!

<script type="module">
  import hintHintBabelConfig from 'https://cdn.skypack.dev/@hint/hint-babel-config';
</script>

README

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