Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Repo: [ban-tslint-comment.test.ts] Switch auto-generated test cases to hand-written #11047

Open
@JoshuaKGoldberg

Description

@JoshuaKGoldberg

Suggestion

Some RuleTester tests in this repo are generated dynamically. Auto-generating tests like that can help create comprehensive test coverage for rules - but:

We'd like to move away from these auto-generated / dynamic test cases. That specifically means making all test cases passed to RuleTester be completely inline plain old JavaScript objects. No .flatMaps/.maps, no dedupeTestCases, helper functions, etc.

This issue tracks doing so for packages/eslint-plugin/tests/rules/ban-tslint-comment.test.ts.

Additional Info

💖

Metadata

Metadata

Assignees

No one assigned

    Labels

    accepting prsGo ahead, send a pull request that resolves this issuerepo maintenancethings to do with maintenance of the repo, and not with code/docs

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions