Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When I tried to edit script.js, lint (through gulp watch) failed for many reasons: indentations which should be 2 spaces (I prefer tabs but it seems I have no choice), space before function's parenthesis... This was very annoying.
But the real problem is that it forbids me to use console.log
. I get it for production settings but when I use gulp watch, I expect it to allow me to debug my code. How can I deactivate these extremely restrictive rules?
Comments