Pattern: Empty eslint-disable
comment
Issue: -
Using eslint-disable
without specifying rule names disables all rules, which can lead to overlooking ESLint warnings unintentionally. Always specify the exact rules to disable.
Example of incorrect code:
var foo; //eslint-disable-line
Example of correct code:
var foo; //eslint-disable-line no-unused-vars