Skip to content

no-alias-methods error in recommended, warn in style #1678

Closed
@FloEdelmann

Description

@FloEdelmann
Contributor

jest/no-alias-methods is set to error in the recommended config (since #1221, August 2022), but set to warn in the style config (since 14cb815, October 2019).

I think this doesn't make sense, since the style config is supposed to be applied on top of the recommended config, but doing that decreases the rule severity.

Likely it was just missed in #1221 to remove jest/no-alias-methods from the style config.

Activity

G-Rath

G-Rath commented on Dec 3, 2024

@G-Rath
Collaborator

yup that's a mistake

G-Rath

G-Rath commented on Jun 18, 2025

@G-Rath
Collaborator

This has been addressed in v29 which was just released - I had intended to attribute the commit to you but the release got mucked up so sorry about that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @FloEdelmann@G-Rath

      Issue actions

        `no-alias-methods` error in recommended, warn in style · Issue #1678 · jest-community/eslint-plugin-jest