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

@applitools/eslint-plugin-compat

Package Overview
Dependencies
Maintainers
17
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@applitools/eslint-plugin-compat

ESLint rules for IE, based on Salesforce LWC rules

  • 0.7.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
17
Created
Source

@applitools/eslint-plugin-compat

ESLint rules for IE, based on Salesforce LWC rules.

Installation

$ npm install eslint babel-eslint @applitools/eslint-plugin-compat --save-dev

Usage

Add compat to the plugins section of your configuration. Then configure the desired rules in the rules sections.

Example of .eslintrc:

{
    "parser": "babel-eslint",
    "plugins": ["@applitools/eslint-plugin-compat"],
    "rules": {
        "@applitools/compat/no-deprecated": "error",
        "@applitools/compat/valid-api": "error",
        "@applitools/compat/no-document-query": "error"
    }
}

For more details about configuration please refer to the dedicated section in the ESLint documentation: https://eslint.org/docs/user-guide/configuring

Rules

Rule IDDescriptionFixable
compat/no-async-awaitdisallow usage of the async-await syntax
compat/no-for-ofdisallow usage of the for-of syntax
compat/no-rest-spread-parameterdisallow usage of the rest parameter and spread operator syntax

Keywords

FAQs

Package last updated on 26 Aug 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