Package Exports
- eslint-plugin-cypress
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-cypress) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Cypress ESLint Plugin
An ESLint plugin for your Cypress tests.
Specifies globals for Cypress cy
, Cypress
, browser and mocha globals.
Installation
npm install eslint-plugin-cypress --save-dev
Usage
Add an .eslintrc
file to your cypress
directory with the following:
// my-project/cypress/.eslintrc
{
"plugins": [
"cypress"
],
"env": {
"cypress/globals": true
}
}