Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore/disable/turn off rules (for a certain line?) #927

Open
samboylett opened this issue Nov 22, 2022 · 0 comments
Open

Ignore/disable/turn off rules (for a certain line?) #927

samboylett opened this issue Nov 22, 2022 · 0 comments

Comments

@samboylett
Copy link


name: Feature request
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''

---Describe the bug
Not a bug really, but it would be nice to be able to ignore certain lines/rules (such as how eslint does). In my project, the graphql was updated to deprecate some queries. This however meant that the front end pipeline was failing, as the warnings produced could not be ignored (they also throw an error code 1 despite only being warnings, not sure if this is on purpose)

To Reproduce
Steps to reproduce the behavior:

  • Try to use a deprecated query
  • Run validate command

Throws warning: The field *** is deprecated.

Expected behavior
Should be able to ignore the warning somehow while we transition to the new query

Thanks :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant