lib/rules/element.js
function(options) {
    return {
      element: options.element,
      name:    'Do not use ' + options.element + ' element',
      message: 'Please remove the ' + options.element + ' element',
      ruleUrl:  options.ruleUrl,
      level:    options.level,
      template: true,
      callback: createGenericCallback(options.element)
    };
  }
function(options) {
    return {
      element: options.element,
      name:    'Do not use ' + options.element + ' element',
      message: 'Please remove the ' + options.element + ' element',
      ruleUrl:  options.ruleUrl,
      level:    options.level,
      template: true,
      callback: createGenericCallback(options.element)
    };
  }
function ( options ) { return { element : options . element , name : 'Do not use ' + options . element + ' element' , message : 'Please remove the ' + options . element + ' element' , ruleUrl : options . ruleUrl , level : options . level , template : true , callback : createGenericCallback ( options . element ) } ; }
Creates an options json that stores the options for a generic rule.
Creates an options json that stores the options for a generic rule .