We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 071a41b commit a284f39Copy full SHA for a284f39
lib/rules/unsafe-to-chain-command.js
@@ -125,7 +125,7 @@ const isRootCypress = (node) => {
125
126
/**
127
* @param {import('estree').Node} node
128
- * @param {string[] | RegExp[]} additionalMethods
+ * @param {(string | RegExp)[]} additionalMethods
129
*/
130
const isActionUnsafeToChain = (node, additionalMethods = []) => {
131
const unsafeActionsRegex = new RegExp([
0 commit comments