Closed andys8 closed 2 months ago
@andys8 can you please provide a copy of the ESLint report .json
file that causes this error? I would like to use it to build a unit test
I don't think I've data or can reproduce it at this point (2 months later, setup changed), but I will keep an eye open if we encounter the issue again.
No worries, sorry for the delayed reply on my end.
Encountered the issue. The output is from a client, redacted, looks roughly like this.
Main issue is likely column
being null
. Not sure if that's allowed / within spec, but that's likely the input and reason for the action to fail.
{
"filePath": "/path/to/file.json",
"messages": [
{
"ruleId": "i18n-json/identical-keys",
"severity": 2,
"message": "my message",
"line": 0,
"column": null,
"nodeType": null
}
],
"errorCount": 1,
"warningCount": 0,
"fixableErrorCount": 0,
"fixableWarningCount": 0,
"source": "{}",
"usedDeprecatedRules": []
}
Thanks for the example. It should be fixed in this commit in the v3-beta
. I'll let you know when there is a 3.0.0
release for testing
3.0.0
has been released. Please update any references to the v3
branch instead of v3-beta
Issue
We see an issue where there is an error
nil is not integer
resulting in a hanging result / check job.Leads to dangling / hanging result lint CI job:
Github Action
Is this an issue with the action? Can we provide more information to solve this issue?
Maybe related, but by the name: https://github.com/ataylorme/eslint-annotate-action/pull/17