JSPM

  • Created
  • Published
  • Downloads 232
  • Score
    100M100P100Q86716F
  • License Apache-2.0

webhint's configuration that includes all the published packages

Package Exports

  • @hint/configuration-all

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-all) 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 all configuration (@hint/configuration-all)

This is a webhint configuration package to use for enabling all hints.

This package will automatically install all the missing dependencies.

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

npm install @hint/configuration-all --save-dev

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

The minimum required .hintrc file to use it is the following:

{
    "extends": ["all"]
}

and it will be as if you had this:

{
    "connector": "puppeteer",
    "formatters": [
        "html",
        "summary"
    ],
    "hints": {
        "amp-validator": "error",
        "apple-touch-icons": "error",
        "axe/aria": "error",
        "axe/forms": "error",
        "axe/color": "error",
        ...
    },
    "hintsTimeout": 120000
}

If you prefer to use another formatter (or any other hint/connector, etc.) you can do something like:

{
    "extends": ["all"],
    "formatters": ["codeframe"]
}

Note: Not all the hints can be used for all connectors, you will be warned when a hint is going to be ignored for a connector.

e.g.

Warning: The hint "babel-config/is-valid" will be ignored for the connector "puppeteer"