Code Climate
Product
Browser Extension
Features
Pricing
Developers
Sign up
Login
RocketChat/Rocket.Chat
View on GitHub
Star
Overview
Progress
Issues
Code
Filters
Trends
Last
master
build
See recent builds
10 days ago
Refresh default branch
Refresh
apps/meteor/client/components/message/header/hooks/useMessageRoles.ts
Summary
Maintainability
A
1 hr
Test Coverage
Issues
Source
Stats
Function
useMessageRoles
has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open
useCallback(() => { if (!shouldLoadRoles || !userId) { return []; }
Severity: Minor
Found in
apps/meteor/client/components/message/header/hooks/useMessageRoles.ts
- About 1 hr to fix
Close
There are no issues that match your filters.
Clear all filters
Category
Complexity
Status
Open
Confirmed
Invalid
Wontfix