maddumajohnerick/emote-icons

View on GitHub

Showing 2 of 2 total issues

Function emotes has 103 lines of code (exceeds 25 allowed). Consider refactoring.
Open

var emotes = (function () {
  var emoticons = {
    ':aha': 'sprite sprite-aha',
    ':angel': 'sprite sprite-angel',
    'O:)': 'sprite sprite-angel',
Severity: Major
Found in src/emote-icons.js - About 4 hrs to fix

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

    module.exports = function(grunt) {
      grunt.initConfig({
        pkg: grunt.file.readJSON('package.json'),
        mochaTest: {
          src: ['test/*.js'],
    Severity: Minor
    Found in Gruntfile.js - About 1 hr to fix
      Severity
      Category
      Status
      Source
      Language