Newton's Preposterous Miscalculation

npm

Need private packages and team management tools?Check out npm Orgs. »

@hint/configuration-progressive-web-apps

5.1.1 • 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).

This package will automatically install all the missing dependencies.

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

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

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

and it will be as if you had this:

{
    "connector": {
        "name": "jsdom",
        "options": {
            "waitFor": 5000
        }
    },
    "formatters": [
        "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"]
}

install

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

Downloadsweekly downloads

384

version

5.1.1

license

Apache-2.0

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
Report a vulnerability