@hint/configuration-progressive-web-apps

7.0.28 • Public • Published

webhint's recommended progressive web apps configuration (@hint/configuration-progressive-web-apps)

This packages is a webhint's configuration package to use for checking progressive web apps (PWAs) and it is installed automatically by webhint:

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": ["progressive-web-apps"]
}

and it will be as if you had this:

{
    "connector": {
        "name": "puppeteer"
    },
    "formatters": [
        "html",
        "summary"
    ],
    "hints": {
        "apple-touch-icons": "error",
        "manifest-app-name": "error",
        "manifest-exists": "error",
        "manifest-file-extension": "error",
        "manifest-icons": "error",
        "manifest-is-valid": "error",
        ...
    },
    "hintsTimeout": 120000,
    "parsers": [
        "manifest"
    ],
    ...
}

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

{
    "extends": ["progressive-web-apps"],
    "formatters": ["codeframe"]
}

Package Sidebar

Install

npm i @hint/configuration-progressive-web-apps

Weekly Downloads

14,570

Version

7.0.28

License

Apache-2.0

Unpacked Size

14.1 kB

Total Files

4

Last publish

Collaborators

  • leotlee
  • vidorteg
  • oaflynn
  • molant
  • antross