- Issue created by @tonytheferg
- last update
7 months ago 9 pass - last update
7 months ago 9 pass Here is the JS warnings:
/builds/project/commerce_ajax_atc/web/modules/custom/commerce_ajax_atc/js/commerce_ajax_atc.js 1:2 warning Unexpected unnamed function func-names 3:5 warning Unexpected unnamed method 'attach' func-names 3:5 error Expected method shorthand object-shorthand 3:23 warning 'context' is defined but never used no-unused-vars 3:32 warning 'settings' is defined but never used no-unused-vars 4:7 error Unexpected use of 'parent' no-restricted-globals 4:38 error Replace `width:drupalSettings.commerce_ajax_atc.colorbox.width·,·height:drupalSettings.commerce_ajax_atc.colorbox.height` with `⏎········width:·drupalSettings.commerce_ajax_atc.colorbox.width,⏎········height:·drupalSettings.commerce_ajax_atc.colorbox.height,⏎······` prettier/prettier 5:6 error Insert `,` prettier/prettier 7:53 warning Unexpected unnamed function func-names 7:63 warning 'ajax' is defined but never used no-unused-vars 7:69 warning 'response' is defined but never used no-unused-vars 8:23 error Insert `;` prettier/prettier ✖ 12 problems (5 errors, 7 warnings) 4 errors and 0 warnings potentially fixable with the `--fix` option.