I connect the plugin:
{
"plugins": ["security-node"],
"extends": ["plugin:security-node/recommended"],
}
I get this output like:
{ type: 'CallExpression',
callee:
{ type: 'Identifier',
name: 'expect',
range: [ 293, 299 ],
loc: { start: [Object], end: [Object] },
parent: [Circular] },
arguments:
[ { type: 'CallExpression',
callee: [Object],
arguments: [Array],
optional: false,
range: [Array],
loc: [Object],
parent: [Circular] } ],
optional: false,
range: [ 293, 332 ],
loc:
{ start: { line: 8, column: 4 }, end: { line: 8, column: 43 } },
parent:
{ type: 'MemberExpression',
object: [Circular],
property:
{ type: 'Identifier',
name: 'toBe',
range: [Array],
loc: [Object],
parent: [Circular] },
computed: false,
optional: false,
range: [ 293, 337 ],
loc: { start: [Object], end: [Object] },
parent:
{ type: 'CallExpression',
callee: [Circular],
arguments: [Array],
optional: false,
range: [Array],
loc: [Object],
parent: [Object] } } }
If I remove the plugin from the config, then there is no such problem.
I connect the plugin:
{ "plugins": ["security-node"], "extends": ["plugin:security-node/recommended"], }I get this output like:
{ type: 'CallExpression', callee: { type: 'Identifier', name: 'expect', range: [ 293, 299 ], loc: { start: [Object], end: [Object] }, parent: [Circular] }, arguments: [ { type: 'CallExpression', callee: [Object], arguments: [Array], optional: false, range: [Array], loc: [Object], parent: [Circular] } ], optional: false, range: [ 293, 332 ], loc: { start: { line: 8, column: 4 }, end: { line: 8, column: 43 } }, parent: { type: 'MemberExpression', object: [Circular], property: { type: 'Identifier', name: 'toBe', range: [Array], loc: [Object], parent: [Circular] }, computed: false, optional: false, range: [ 293, 337 ], loc: { start: [Object], end: [Object] }, parent: { type: 'CallExpression', callee: [Circular], arguments: [Array], optional: false, range: [Array], loc: [Object], parent: [Object] } } }If I remove the plugin from the config, then there is no such problem.