Changeset 0c6b92a for imaps-frontend/node_modules/eslint-plugin-react/lib/rules/jsx-closing-bracket-location.js
Legend:
- Unmodified
- Added
- Removed
-
imaps-frontend/node_modules/eslint-plugin-react/lib/rules/jsx-closing-bracket-location.js
rd565449 r0c6b92a 21 21 }; 22 22 23 /** @type {import('eslint').Rule.RuleModule} */ 23 24 module.exports = { 24 25 meta: { … … 101 102 * Get expected location for the closing bracket 102 103 * @param {Object} tokens Locations of the opening bracket, closing bracket and last prop 103 * @return { String} Expected location for the closing bracket104 * @return {string} Expected location for the closing bracket 104 105 */ 105 106 function getExpectedLocation(tokens) { … … 122 123 * expected location. 123 124 * @param {Object} tokens Locations of the opening bracket, closing bracket and last prop 124 * @param { String} expectedLocation Expected location for the closing bracket125 * @param {string} expectedLocation Expected location for the closing bracket 125 126 * @return {?Number} The correct column for the closing bracket, or null 126 127 */ … … 141 142 * Check if the closing bracket is correctly located 142 143 * @param {Object} tokens Locations of the opening bracket, closing bracket and last prop 143 * @param { String} expectedLocation Expected location for the closing bracket144 * @return { Boolean} True if the closing bracket is correctly located, false if not144 * @param {string} expectedLocation Expected location for the closing bracket 145 * @return {boolean} True if the closing bracket is correctly located, false if not 145 146 */ 146 147 function hasCorrectLocation(tokens, expectedLocation) { … … 164 165 * Get the characters used for indentation on the line to be matched 165 166 * @param {Object} tokens Locations of the opening bracket, closing bracket and last prop 166 * @param { String} expectedLocation Expected location for the closing bracket167 * @param { Number} [correctColumn] Expected column for the closing bracket. Default to 0168 * @return { String} The characters used for indentation167 * @param {string} expectedLocation Expected location for the closing bracket 168 * @param {number} [correctColumn] Expected column for the closing bracket. Default to 0 169 * @return {string} The characters used for indentation 169 170 */ 170 171 function getIndentation(tokens, expectedLocation, correctColumn) { … … 236 237 * 237 238 * @param {ASTNode} node The AST node being checked. 238 * @returns { String} Unique ID (based on its range)239 * @returns {string} Unique ID (based on its range) 239 240 */ 240 241 function getOpeningElementId(node) {
Note:
See TracChangeset
for help on using the changeset viewer.