eslint-annotate-action icon indicating copy to clipboard operation
eslint-annotate-action copied to clipboard

Error with ignored file

Open pmcelhaney opened this issue 3 years ago • 0 comments

The first item in my report looks like this.

  {
    "filePath": "/Users/rpmcelbd/code/front-end/.github/workflows/web-ci.yaml",
    "messages": [
      {
        "fatal": false,
        "severity": 1,
        "message": "File ignored by default.  Use a negated ignore pattern (like \"--ignore-pattern '!<relative/path/to/filename>'\") to override."
      }
    ],
    "suppressedMessages": [],
    "errorCount": 0,
    "fatalErrorCount": 0,
    "warningCount": 1,
    "fixableErrorCount": 0,
    "fixableWarningCount": 0,
    "usedDeprecatedRules": []
  }

Actual

I'm getting the following error.

Empty value for parameter 'output.annotations[0].end_line': undefined

Expected

It should skip this warning because the file is ignored. It doesn't matter that there's no end_line. It should probably ignore anything that doesn't have a ruleId.

pmcelhaney avatar Mar 29 '22 13:03 pmcelhaney