carhartl/jquery-cookie

View on GitHub

Showing 2 of 2 total issues

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

module.exports = function (grunt) {

    grunt.initConfig({
        pkg: grunt.file.readJSON('package.json'),
        qunit: {
Severity: Major
Found in Gruntfile.js - About 6 hrs to fix

    Function cookie has 31 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        var config = $.cookie = function (key, value, options) {
    
            // Write
    
            if (arguments.length > 1 && !$.isFunction(value)) {
    Severity: Minor
    Found in src/jquery.cookie.js - About 1 hr to fix
      Severity
      Category
      Status
      Source
      Language