doesn't work as expected
Closed this issue · 5 comments
testing on this repo https://github.com/staeco/iris-ql
rules works by installing them directly on project
but i don't have any errors with eslint-remote-tester
repo: https://github.com/andriyor/eslint-remote-tester-example/blob/main/eslint-remote-tester.config.js
Does adding rulesUnderTesting: (ruleId: string) => true
help?
eslint-remote-tester/README.md
Line 94 in dd0d305
By default only ESLint rule crashes are reported. Using rulesUnderTesting
you can filter which rule errors should be reported as well.
thanks, it helped
now i see how many errors have each repo, but how can i see error logs to understand which rule failed and file path?
There should be ./eslint-remote-tester-results
written after run.
eslint-remote-tester/README.md
Lines 111 to 113 in dd0d305
Ohh, thank you, sorry for bothering
Do you have some kind of API to use this tool programmatically?
There's onComplete
that can be used to get access to the results after run is finished. Does this work for you?
eslint-remote-tester/README.md
Line 104 in dd0d305
Example arguments that are passed there:
eslint-remote-tester/docs/onComplete-arguments.json
Lines 2 to 23 in dd0d305