Is there plugin to check if in Node.js code callbacks are used properly?

For example


    function (param1, callback) {
        
        // Calling async function
        fs.deletFile (param2, function(err) {
            if (err) return callback(err):
            
            // Here we forget to call callback 
            // This issue should be reported 
            // callback(); 
        }); 
    }


-- 
You received this message because you are subscribed to the Google Groups 
"ESLint" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to