Socket
Book a DemoInstallSign in
Socket

@hint/configuration-progressive-web-apps

Package Overview
Dependencies
Maintainers
5
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hint/configuration-progressive-web-apps

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

7.0.29
latest
Source
npmnpm
Version published
Maintainers
5
Created
Source

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"]
}

Keywords

progressive-web-apps

FAQs

Package last updated on 29 Aug 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.