old_contents: /*globals require, module */
  /*jshint globalstrict:true */
  
  'use strict';
  
  var check = require('check-types');
  
  module.exports = function (object, defaultName) {
      if (check.isObject(object) && check.isUnemptyString(object.name)) {
          return object.name;
      }
  
      if (check.isUnemptyString(defaultName)) {
          return defaultName;
      }
  
      return '<anonymous>';
  };
  
new_contents: /*globals require, module */
  
  'use strict';
  
  var check = require('check-types');
  
  module.exports = function (object, defaultName) {
      if (check.isObject(object) && check.isUnemptyString(object.name)) {
          return object.name;
      }
  
      if (check.isUnemptyString(defaultName)) {
          return defaultName;
      }
  
      return '<anonymous>';
  };
  
subject: Remove unnecessary jshint option.