Skip to content

Make less strict ESLint config for testing files #14

@Siegrift

Description

@Siegrift

Testing requires creating mocks and using fixtures and sometimes uglier mutable code. This is fine (and sometimes preferred) for tests, but with our strict production ESLint configuration we need to use multiple eslint disable comments which is ugly.

We could turn off the problematic rules in the test config (only applied for tests files based on filename pattern).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions