Legend:
- Unmodified
- Added
- Removed
-
imaps-frontend/node_modules/eslint-plugin-react/lib/util/jsx.js
rd565449 r0c6b92a 77 77 /** 78 78 * Check if value has only whitespaces 79 * @param { string} value79 * @param {unknown} value 80 80 * @returns {boolean} 81 81 */ … … 89 89 * @param {Context} context The context of `ASTNode`. 90 90 * @param {ASTNode} ASTnode The AST node being checked 91 * @param { Boolean} [strict] If true, in a ternary condition the node must return JSX in both cases92 * @param { Boolean} [ignoreNull] If true, null return values will be ignored93 * @returns { Boolean} True if the node is returning JSX or null, false if not91 * @param {boolean} [strict] If true, in a ternary condition the node must return JSX in both cases 92 * @param {boolean} [ignoreNull] If true, null return values will be ignored 93 * @returns {boolean} True if the node is returning JSX or null, false if not 94 94 */ 95 95 function isReturningJSX(context, ASTnode, strict, ignoreNull) { … … 146 146 * @param {ASTNode} ASTnode The AST node being checked 147 147 * @param {Context} context The context of `ASTNode`. 148 * @returns { Boolean} True if the node is returning only null values148 * @returns {boolean} True if the node is returning only null values 149 149 */ 150 150 function isReturningOnlyNull(ASTnode, context) {
Note:
See TracChangeset
for help on using the changeset viewer.