wcandillon/language-jsoniq

View on GitHub

Showing 2 of 2 total issues

Function exports has 41 lines of code (exceeds 25 allowed). Consider refactoring.
Open

module.exports = (function(_super) {

    XQLintWorker = cp.fork(__dirname + '/worker.js');
    process.on('exit', function() {
        XQLintWorker.kill();
Severity: Minor
Found in lib/language-jsoniq.js - About 1 hr to fix

    Function lintFile has 28 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        JSONiqLinter.prototype.lintFile = function(filePath, callback){
            //var self = this;
            var editor = atom.workspace.getActiveTextEditor();
            if(!editor) {
                return;
    Severity: Minor
    Found in lib/language-jsoniq.js - About 1 hr to fix
      Severity
      Category
      Status
      Source
      Language