AtomLinter/linter-codeclimate

View on GitHub

Showing 3 of 3 total issues

File index.js has 268 lines of code (exceeds 250 allowed). Consider refactoring.
Open

'use babel';

// eslint-disable-next-line import/extensions, import/no-extraneous-dependencies
import { CompositeDisposable } from 'atom';
import { dirname, join } from 'path';
Severity: Minor
Found in lib/index.js - About 2 hrs to fix

    Function notifyError has 38 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    const notifyError = (err, description = '') => {
      let friendlyDesc = '';
      let detail = 'Exception details:';
    
      if (err.message) {
    Severity: Minor
    Found in lib/index.js - About 1 hr to fix

      Function parseIssues has 29 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

        parseIssues(project, result) {
          let messages;
      
          try {
            messages = JSON.parse(result);
      Severity: Minor
      Found in lib/index.js - About 1 hr to fix
        Severity
        Category
        Status
        Source
        Language