gruberb/chartistAngularDirective

View on GitHub

Showing 4 of 6 total issues

Function ngChartist has 49 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function ngChartist($compile) {
  return {
    scope: {
      data: '=',
      options: '@',
Severity: Minor
Found in src/chartistAngularDirective.js - About 1 hr to fix

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

    module.exports = function(grunt) {
    
      // Project configuration.
      grunt.initConfig({
        pkg: grunt.file.readJSON('package.json'),
    Severity: Minor
    Found in Gruntfile.js - About 1 hr to fix

      Function link has 35 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

        function link(scope) {
      
          var graph = Chartist[scope.type]('#' + scope.id, scope.data, scope.options, scope.responsiveOptions);
      
          // set watcher for future data updates
      Severity: Minor
      Found in src/chartistAngularDirective.js - About 1 hr to fix

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

        module.exports = function(config) {
            config.set({
        
                // base path that will be used to resolve all patterns (eg. files, exclude)
                basePath: '',
        Severity: Minor
        Found in karma.conf.js - About 1 hr to fix
          Severity
          Category
          Status
          Source
          Language