@applitools/eslint-plugin-compat

0.7.0 • Public • Published

@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 ID Description Fixable
compat/no-async-await disallow usage of the async-await syntax
compat/no-for-of disallow usage of the for-of syntax
compat/no-rest-spread-parameter disallow usage of the rest parameter and spread operator syntax

Readme

Keywords

Package Sidebar

Install

npm i @applitools/eslint-plugin-compat

Weekly Downloads

35

Version

0.7.0

License

MIT

Unpacked Size

7.57 kB

Total Files

8

Last publish

Collaborators

  • livgerti
  • shiran.sidis
  • mmilapp
  • anandbagmar
  • dockermaster
  • mkowalew3382
  • itaiz134
  • anastasia.koifman
  • eirenik0
  • sergovapplitools
  • fatihsolhan-applitools
  • grayscale64
  • itaibh-applitools
  • bongo123
  • aretm_borodavka
  • netaavivi
  • applitoolsmustafa
  • zamboney
  • benbaba
  • amit.rokach
  • shalev.rahamim
  • eladheller
  • adamcarmi
  • amir.groisman
  • noamshv
  • natalieapplitools
  • noam.gaash
  • igor_kozyrenko_applitools
  • billy.herrera
  • giladgd
  • ran-itzhaki
  • noam.mendel
  • gearm
  • benny.halberstadt
  • gofilord
  • alex.burdeynyy
  • david.haeffner
  • chaimaharonson
  • roy.sela
  • ronikar_applitools
  • anton-chuev
  • danielputerman
  • amitzur
  • ramapplitools
  • applitools-admin
  • applitools-readonly
  • iasisapp
  • yotammadem
  • liranbarokas
  • itayy.applitools
  • denis.styrt
  • kyrylo.onufriiev
  • amitzur-applitools
  • yardenw.applitools
  • ormeda
  • vgprod
  • clementbarry
  • sophieta