app/javascript/controllers/modal_controller.js
Function send
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
send(body = '') {
var options, position, width;
width = this.element.dataset.modalSize || '90%';
position = this.element.dataset.modalPosition || 'top';
options = {