Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including @hint/configuration-progressive-web-apps with all npm packages installed. Try it out:

require("hint/package.json"); // hint is a peer dependency. var configurationProgressiveWebApps = require("@hint/configuration-progressive-web-apps")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

@hint/configuration-progressive-web-apps v5.0.0

webhint's recommended hints configuration for progressive web apps (PWAs)

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-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"]
}
RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free