Unleash awesomeness. Private packages, team management tools, and powerful integrations. Get started with npm Orgs »

@hint/configuration-development

6.0.0 • Public • Published

webhint's development configuration (@hint/configuration-development)

This packages is a webhint configuration package to use during development.

This package will automatically install all the missing dependencies.

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

npm install @hint/configuration-development

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": ["development"]
}

and it will be as if you had this:

{
    "connector": "local",
    "extends": [
        "progressive-web-apps"
    ],
    "formatters": [
        "summary"
    ],
    "hints": {
        "axe": "error",
        "babel-config/is-valid": "error",
        "disown-opener": "error",
        "highest-available-document-mode": "error",
        "manifest-exists": "off",
        "meta-charset-utf-8": "error",
        "meta-viewport": "error",
        ...
    },
    "hintsTimeout": 10000
}

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

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

install

npm i @hint/configuration-development

Downloadsweekly downloads

49

version

6.0.0

license

Apache-2.0

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
Report a vulnerability