Skip to content

No way to configure Bulk Suppressions when using @nx/eslint executor #33984

@SimpleCreations

Description

@SimpleCreations

Current Behavior

ESLint has a feature called Bulk Suppressions that helps large projects improve their ESLint configurations by enabling certain rules only for new code, while keeping old code as-is.
https://eslint.org/docs/latest/use/suppressions

It is configurable via ESLint CLI options that are missing from the executor's options:
https://nx.dev/docs/technologies/eslint/executors#options

Expected Behavior

The executor has options that allow to pass a suppressions file location and a list of suppressed rules.

GitHub Repo

No response

Steps to Reproduce

  1. Create a project with a target that uses @nx/eslint:lint
  2. Try to utilize the Bulk Suppressions feature

Nx Report

N/A

Failure Logs

Package Manager Version

No response

Operating System

  • macOS
  • Linux
  • Windows
  • Other (Please specify)

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions