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-danger-with-children.js

    rd565449 r0c6b92a  
    1818};
    1919
     20/** @type {import('eslint').Rule.RuleModule} */
    2021module.exports = {
    2122  meta: {
     
    8687     * Checks to see if a node is a line break
    8788     * @param {ASTNode} node The AST node being checked
    88      * @returns {Boolean} True if node is a line break, false if not
     89     * @returns {boolean} True if node is a line break, false if not
    8990     */
    9091    function isLineBreak(node) {
     
    120121          node.callee
    121122          && node.callee.type === 'MemberExpression'
     123          && 'name' in node.callee.property
    122124          && node.callee.property.name === 'createElement'
    123125          && node.arguments.length > 1
Note: See TracChangeset for help on using the changeset viewer.