Files
ad747d66dc feat!: replace chalk with styleText and add color to ResultsMeta (#20227)
* wip

* wip

* wip

* wip

* wip

* wip: revert `ci.yml`

* wip: remove `eslint-disable` comment

* wip

* wip: fix `FORCE_COLOR` related error and add tests to cover it

* wip: fix CI failure

* wip: temporarily turn on `fail-fast`

* wip: temp

* wip

* wip: simplify tests

* wip: update documentation

* wip: update docs

* wip: pass `color` option to `ResultsMeta`

* wip: accept `color` option in `stylish`

* wip: add more tests for `stylish.js`

* wip: resolve CI failure

* wip: remove duplicate test cases

* wip: add more descriptions

* wip: simplify code in `cli.js`

* wip: add test cases for `cli.js`

* wip: add more test cases for `stylish.js`

* wip: simplify `reset` and update `check-rule-examples`

* Revert "wip: simplify `reset` and update `check-rule-examples`"

This reverts commit e8a4da934898cd6a42e7d6b64e9904b20ccf16c6.

* wip: update migration docs

* wip: simplify `reset` logic

* wip: update docs/src/use/command-line-interface.md

Co-authored-by: Milos Djermanovic <[email protected]>

* wip: update comment on `styleText` workaround for Node.js compatibility

* wip: update `resultsMeta` description to include `color` property in Node.js API

* wip: update `resultsMeta` description in `index.d.ts`

* wip: add `color` property to `LintResultData`

* wip: use fixture formatter

* wip: update `check-rule-examples`

* wip: restore `FORCE_COLOR` in test

* wip: use `beforeEach` and `afterEach`

---------

Co-authored-by: Milos Djermanovic <[email protected]>
2025-12-11 21:07:31 +01:00

5 lines
87 B
JavaScript

/*global module*/
module.exports = function(results, context) {
return context;
};