website refactor
This commit is contained in:
@@ -166,7 +166,7 @@ module.exports = {
|
||||
// Check router.push() and router.replace()
|
||||
CallExpression(node) {
|
||||
if (node.callee.type === 'MemberExpression' &&
|
||||
node.callee.property.name === 'push' || node.callee.property.name === 'replace') {
|
||||
(node.callee.property.name === 'push' || node.callee.property.name === 'replace')) {
|
||||
|
||||
// Check if it's router.push/replace
|
||||
const calleeObj = node.callee.object;
|
||||
|
||||
Reference in New Issue
Block a user