JSPM

eslint-plugin-detox

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 32280
  • Score
    100M100P100Q146645F
  • License ISC

ESLint environment for wix/detox

Package Exports

  • eslint-plugin-detox

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (eslint-plugin-detox) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

eslint-plugin-detox

ESLint environment for wix/detox

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev
OR
$ yarn add eslint --dev

Next, install eslint-plugin-detox:

$ npm install eslint-plugin-detox --save-dev
OR
$ yarn add eslint-plugin-detox --dev

Note: If you installed ESLint globally (using the -g flag) then you must also install eslint-plugin-detox globally.

Usage

Add detox to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
    "plugins": [
        "detox"
    ]
}

Add the following line to the top of your detox test files:

/* eslint-env detox/detox, mocha */