Changeset 0c6b92a for imaps-frontend/node_modules/eslint-plugin-react/lib/rules/jsx-space-before-closing.js
Legend:
- Unmodified
- Added
- Removed
-
imaps-frontend/node_modules/eslint-plugin-react/lib/rules/jsx-space-before-closing.js
rd565449 r0c6b92a 24 24 }; 25 25 26 /** @type {import('eslint').Rule.RuleModule} */ 26 27 module.exports = { 27 28 meta: { … … 59 60 60 61 const leftToken = getTokenBeforeClosingBracket(node); 61 const closingSlash = sourceCode.getTokenAfter(leftToken);62 const closingSlash = /** @type {import("eslint").AST.Token} */ (sourceCode.getTokenAfter(leftToken)); 62 63 63 64 if (leftToken.loc.end.line !== closingSlash.loc.start.line) {
Note:
See TracChangeset
for help on using the changeset viewer.