eslint-plugin-cypress
Advanced tools
Comparing version 3.1.0 to 3.1.1
@@ -22,3 +22,3 @@ 'use strict' | ||
'each', | ||
'focus$', | ||
'focus', | ||
'rightclick', | ||
@@ -134,3 +134,3 @@ 'screenshot', | ||
const unsafeActionsRegex = new RegExp([ | ||
...unsafeToChainActions, | ||
...unsafeToChainActions.map((action) => `^${action}$`), | ||
...additionalMethods.map((method) => method instanceof RegExp ? method.source : method), | ||
@@ -137,0 +137,0 @@ ].join('|')) |
{ | ||
"name": "eslint-plugin-cypress", | ||
"version": "3.1.0", | ||
"version": "3.1.1", | ||
"description": "An ESLint plugin for projects using Cypress", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -21,2 +21,6 @@ 'use strict' | ||
}, | ||
{ | ||
code: 'cy.submitBtn().click();', | ||
parserOptions, | ||
}, | ||
], | ||
@@ -23,0 +27,0 @@ |
57536
1005