Package Exports
- @hint/configuration-development
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@hint/configuration-development) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
webhint's development configuration (@hint/configuration-development
)
This packages is a webhint
configuration package to use during
development.
This package will automatically install all the missing dependencies.
To use it you will have to install it via npm
:
npm install @hint/configuration-development
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.
The minimum required .hintrc
file to use it is
the following:
{
"extends": ["development"]
}
and it will be as if you had this:
{
"connector": "local",
"extends": [
"progressive-web-apps"
],
"formatters": [
"summary"
],
"hints": {
"axe": "error",
"babel-config/is-valid": "error",
"disown-opener": "error",
"highest-available-document-mode": "error",
"manifest-exists": "off",
"meta-charset-utf-8": "error",
"meta-viewport": "error",
...
},
"hintsTimeout": 10000
}
If you prefer to use another formatter (or any other hint/connector, etc.) you can do something like:
{
"extends": ["development"],
"formatters": ["codeframe"]
}