Skip to content

Print rule notices in result reporting #7

Closed
@JoshuaKGoldberg

Description

@JoshuaKGoldberg

Rule converters may contain a notices member intended to message users about behavior changes from TSLint to ESLint. For example, no-arg's converter returns a notice about arguments.callee also being banned.

Unfortunately, there's nothing (yet!) that prints these notices in the CLI. reportConversionResults should have code added to also print out, for each resultant ESLint rule with notices, the notices under it.

Maybe the output could look something like this?

📢 2 ESLint rules behave differently from their TSLint counterparts: 📢
    * no-caller:
        - `arguments.callee` will now also be banned.
    * no-invalid-this:
        - Functions in methods will no longer be ignored.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions