babel-config
contains hints to check if your Babel configuration
has the most recommended configuration.
Babel needs to be properly configured to reflect user's preference.
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.