JSON output docs.url
includes [object Object]
#3473
Labels
bug
Something isn't working
package: eslint-plugin
Issues related to @typescript-eslint/eslint-plugin
Repro
Run the following command:
$ ./node_modules/.bin/eslint . -f json-with-metadata | jq .
Expected Result
(The following are excerpts.)
The JSON output should include
v4.26.0
in thedocs.url
fields.Actual Result
But the actual JSON output includes
v[object Object]
in thedocs.url
fields.Additional Info
Perhaps, the following code seems to have a problem:
typescript-eslint/packages/eslint-plugin/src/util/createRule.ts
Line 5 in b814e63
Is this correct? ⬇️
Versions
@typescript-eslint/eslint-plugin
4.26.0
@typescript-eslint/parser
4.26.0
TypeScript
4.3.2
ESLint
7.27.0
node
16.2.0
The text was updated successfully, but these errors were encountered: