wikimedia/mediawiki-extensions-MobileFrontend

View on GitHub
src/mobile.editor.overlay/blockMessageDrawer.js

Summary

Maintainability
A
1 hr
Test Coverage

Function blockMessageDrawer has 35 lines of code (exceeds 25 allowed). Consider refactoring.
Open

module.exports = function blockMessageDrawer( props ) {
    const blockDrawer = new Drawer( {
        className: 'drawer block-message',
        onBeforeHide: function ( drawer ) {
            drawer.$el.remove();
Severity: Minor
Found in src/mobile.editor.overlay/blockMessageDrawer.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status