@hint/hint-compat-api
TypeScript icon, indicating that this package has built-in type declarations

4.5.7 • Public • Published

Compatibility of CSS, HTML and JavaScript features (compat-api)

compat api contains hints to check if your CSS, HTML, and JavaScript have deprecated or not broadly supported features.

Why is this important?

You need to know if all the properties that you are using in your files are compatible with the target browsers that you want to support.

Hints

How to use these hints?

This package is installed automatically by webhint:

npm install hint --save-dev

To use it, activate it via the .hintrc configuration file:

{
    "connector": {...},
    "formatters": [...],
    "hints": {
        "compat-api/css": "error",
        "compat-api/html": "error",
        ...
    },
    "parsers": [...],
    ...
}

Note: The recommended way of running webhint is as a devDependency of your project.

/@hint/hint-compat-api/

    Package Sidebar

    Install

    npm i @hint/hint-compat-api

    Homepage

    webhint.io/

    Weekly Downloads

    15,198

    Version

    4.5.7

    License

    Apache-2.0

    Unpacked Size

    53.8 kB

    Total Files

    43

    Last publish

    Collaborators

    • leotlee
    • vidorteg
    • oaflynn
    • molant
    • antross