eslint-plugin-cypress
Advanced tools
@@ -1,2 +0,2 @@ | ||
| name: 'Closed Issue Comment' | ||
| name: 'Handle Comment Workflow' | ||
| on: | ||
@@ -8,3 +8,3 @@ issue_comment: | ||
| closed-issue-comment: | ||
| uses: cypress-io/cypress/.github/workflows/triage_closed_issue_comment.yml@develop | ||
| uses: cypress-io/cypress/.github/workflows/triage_handle_new_comments.yml@develop | ||
| secrets: inherit |
@@ -72,2 +72,7 @@ 'use strict' | ||
| // import { WAIT } from './constants' | ||
| // cy.wait(WAIT) | ||
| // we don't know if WAIT is a number or alias '@someRequest', so don't fail | ||
| if (definition.type === 'ImportBinding') return false | ||
| const param = definition.node.params[definition.index] | ||
@@ -74,0 +79,0 @@ |
+2
-2
| { | ||
| "name": "eslint-plugin-cypress", | ||
| "version": "2.13.2", | ||
| "version": "2.13.3", | ||
| "description": "An ESLint plugin for projects using Cypress", | ||
| "main": "index.js", | ||
| "author": "Chris Breiding (chris@cypress.io)", | ||
| "author": "Cypress-io", | ||
| "license": "MIT", | ||
@@ -8,0 +8,0 @@ "keywords": [ |
@@ -9,3 +9,3 @@ 'use strict' | ||
| const errors = [{ messageId: 'unexpected' }] | ||
| const parserOptions = { ecmaVersion: 6 } | ||
| const parserOptions = { ecmaVersion: 6, sourceType: 'module' } | ||
@@ -31,2 +31,7 @@ ruleTester.run('no-unnecessary-waiting', rule, { | ||
| { code: 'import BAR_BAZ from "bar-baz"; cy.wait(BAR_BAZ)', parserOptions }, | ||
| { code: 'import { FOO_BAR } from "foo-bar"; cy.wait(FOO_BAR)', parserOptions }, | ||
| { code: 'import * as wildcard from "wildcard"; cy.wait(wildcard.value)', parserOptions }, | ||
| { code: 'import { NAME as OTHER_NAME } from "rename"; cy.wait(OTHER_NAME)', parserOptions }, | ||
| // disable the eslint rule | ||
@@ -33,0 +38,0 @@ { |
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
45469
1.23%763
1.06%