Legend:
- Unmodified
- Added
- Removed
-
imaps-frontend/node_modules/eslint-plugin-react/lib/rules/jsx-indent-props.js
rd565449 r0c6b92a 46 46 }; 47 47 48 /** @type {import('eslint').Rule.RuleModule} */ 48 49 module.exports = { 49 50 meta: { … … 117 118 * Reports a given indent violation and properly pluralizes the message 118 119 * @param {ASTNode} node Node violating the indent rule 119 * @param { Number} needed Expected indentation character count120 * @param { Number} gotten Indentation character count in the actual node/code120 * @param {number} needed Expected indentation character count 121 * @param {number} gotten Indentation character count in the actual node/code 121 122 */ 122 123 function report(node, needed, gotten) { … … 142 143 * Get node indent 143 144 * @param {ASTNode} node Node to examine 144 * @return { Number} Indent145 * @return {number} Indent 145 146 */ 146 147 function getNodeIndent(node) { … … 174 175 * Check indent for nodes list 175 176 * @param {ASTNode[]} nodes list of node objects 176 * @param { Number} indent needed indent177 * @param {number} indent needed indent 177 178 */ 178 179 function checkNodesIndent(nodes, indent) {
Note:
See TracChangeset
for help on using the changeset viewer.