app/javascript/vue/directives/resizeColumn.js
Function mounted
has 47 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
mounted: (el, binding) => {
if (el.nodeName !== 'TABLE') { return console.error('This directive is only valid on a table!') }
const opt = binding.value || {}
const table = el