Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@hint/hint-compat-api

Package Overview
Dependencies
Maintainers
2
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hint/hint-compat-api

hint to validate if the HTML, CSS, and JavaScript APIs of the project are deprecated or not broadly supported

  • 4.3.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
17K
decreased by-3.23%
Maintainers
2
Weekly downloads
 
Created
Source

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

  • compat-api/css
  • compat-api/html

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.

Keywords

FAQs

Package last updated on 05 Dec 2019

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc