Ignore:
Timestamp:
12/12/24 17:06:06 (5 weeks ago)
Author:
stefan toskovski <stefantoska84@…>
Branches:
main
Parents:
d565449
Message:

Pred finalna verzija

File:
1 edited

Legend:

Unmodified
Added
Removed
  • imaps-frontend/node_modules/eslint-plugin-react/lib/rules/no-is-mounted.js

    rd565449 r0c6b92a  
    1818};
    1919
     20/** @type {import('eslint').Rule.RuleModule} */
    2021module.exports = {
    2122  meta: {
     
    3940          return;
    4041        }
    41         if (callee.object.type !== 'ThisExpression' || callee.property.name !== 'isMounted') {
     42        if (
     43          callee.object.type !== 'ThisExpression'
     44          || !('name' in callee.property)
     45          || callee.property.name !== 'isMounted'
     46        ) {
    4247          return;
    4348        }
Note: See TracChangeset for help on using the changeset viewer.