lib/rules/vue/comment-directive.js
function processBlock (context, comment) {
  const parsed = parse(COMMENT_DIRECTIVE_B, comment.value)
  if (parsed != null) {
    if (parsed.type === 'eslint-disable') {
      disable(context, comment.loc.start, 'block', parsed.rules)
    } else {
      enable(context, comment.loc.start, 'block', parsed.rules)
    }
  }
}
function processBlock (context, comment) {
  const parsed = parse(COMMENT_DIRECTIVE_B, comment.value)
  if (parsed != null) {
    if (parsed.type === 'eslint-disable') {
      disable(context, comment.loc.start, 'block', parsed.rules)
    } else {
      enable(context, comment.loc.start, 'block', parsed.rules)
    }
  }
}
function processBlock ( context , comment ) { const parsed = parse ( COMMENT_DIRECTIVE_B , comment . value ) if ( parsed != null ) { if ( parsed . type === 'eslint-disable' ) { disable ( context , comment . loc . start , 'block' , parsed . rules ) } else { enable ( context , comment . loc . start , 'block' , parsed . rules ) } } }
Process a given comment token.
If the comment is `eslint-disable` or `eslint-enable` then it reports the comment.
@param {RuleContext} context The rule context.
@param {Token} comment The comment token to process.
@returns {void}
Process a given comment token . If the comment is eslint - disable or eslint - enable then it reports the comment .