Changeset 0c6b92a for imaps-frontend/node_modules/eslint-plugin-react/lib/rules/no-danger-with-children.js
Legend:
- Unmodified
- Added
- Removed
-
imaps-frontend/node_modules/eslint-plugin-react/lib/rules/no-danger-with-children.js
rd565449 r0c6b92a 18 18 }; 19 19 20 /** @type {import('eslint').Rule.RuleModule} */ 20 21 module.exports = { 21 22 meta: { … … 86 87 * Checks to see if a node is a line break 87 88 * @param {ASTNode} node The AST node being checked 88 * @returns { Boolean} True if node is a line break, false if not89 * @returns {boolean} True if node is a line break, false if not 89 90 */ 90 91 function isLineBreak(node) { … … 120 121 node.callee 121 122 && node.callee.type === 'MemberExpression' 123 && 'name' in node.callee.property 122 124 && node.callee.property.name === 'createElement' 123 125 && node.arguments.length > 1
Note:
See TracChangeset
for help on using the changeset viewer.