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

nixd: diagnostic control #477

Closed
inclyc opened this issue Apr 28, 2024 · 1 comment · Fixed by #505
Closed

nixd: diagnostic control #477

inclyc opened this issue Apr 28, 2024 · 1 comment · Fixed by #505
Labels
enhancement New feature or request nixd:controller

Comments

@inclyc
Copy link
Member

inclyc commented Apr 28, 2024

Add a configuration field to allow users overriding which kind of diagnostic should be emitted.

As mentioned in #475 , we may allow users to toggle each diagnostic. If they like/dislike it.

@inclyc
Copy link
Member Author

inclyc commented May 18, 2024

Proposed change: I would like to add a new configuration option under diagnostics, maybe suppress is a suitable name.

{
   "diagnostic": {
    // Array of strings, specify diagnostic IDs need to be suppressed.
    "suppress": [ ]
  }
}

For better testing there might also be a CLI flag, for better testing.

@inclyc inclyc linked a pull request May 18, 2024 that will close this issue
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request nixd:controller
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant