Xo: Metadata is missing from reports

Created on 24 Dec 2020  路  1Comment  路  Source: xojs/xo

I'm writing a formatter based on the ESLint spec only to discover that the metadata is not returned from XO.
That blocks quite a lot of value.

In mergeReports the metadata should be merged as well and then passed as the second parameter in log.

Background:
https://eslint.org/docs/developer-guide/working-with-custom-formatters#the-data-argument

This currently already breaks the json-with-metadata reporter.

enhancement help wanted

Most helpful comment

I agree. It's not something I plan to work on, but a pull request is welcome.

>All comments

I agree. It's not something I plan to work on, but a pull request is welcome.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sindresorhus picture sindresorhus  路  8Comments

niftylettuce picture niftylettuce  路  6Comments

EdJoPaTo picture EdJoPaTo  路  3Comments

sindresorhus picture sindresorhus  路  8Comments

haskellcamargo picture haskellcamargo  路  3Comments