lib/rules/vue/comment-directive.js
function processLine (context, comment) {
  const parsed = parse(COMMENT_DIRECTIVE_L, comment.value)
  if (parsed != null && comment.loc.start.line === comment.loc.end.line) {
    const line = comment.loc.start.line + (parsed.type === 'eslint-disable-line' ? 0 : 1)
    const column = -1
    disable(context, { line, column }, 'line', parsed.rules)
    enable(context, { line: line + 1, column }, 'line', parsed.rules)
  }
}
function processLine (context, comment) {
  const parsed = parse(COMMENT_DIRECTIVE_L, comment.value)
  if (parsed != null && comment.loc.start.line === comment.loc.end.line) {
    const line = comment.loc.start.line + (parsed.type === 'eslint-disable-line' ? 0 : 1)
    const column = -1
    disable(context, { line, column }, 'line', parsed.rules)
    enable(context, { line: line + 1, column }, 'line', parsed.rules)
  }
}
function processLine ( context , comment ) { const parsed = parse ( COMMENT_DIRECTIVE_L , comment . value ) if ( parsed != null && comment . loc . start . line === comment . loc . end . line ) { const line = comment . loc . start . line + ( parsed . type === 'eslint-disable-line' ? 0 : 1 ) const column = - 1 disable ( context , { line , column } , 'line' , parsed . rules ) enable ( context , { line : line + 1 , column } , 'line' , parsed . rules ) } }
Process a given comment token.
If the comment is `eslint-disable-line` or `eslint-disable-next-line` 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 - line or eslint - disable - next - line then it reports the comment .