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

Eslint checker: different logLevel settings for terminal and overlay #304

Open
3 tasks done
Miodec opened this issue Feb 18, 2024 · 2 comments
Open
3 tasks done

Eslint checker: different logLevel settings for terminal and overlay #304

Miodec opened this issue Feb 18, 2024 · 2 comments

Comments

@Miodec
Copy link

Miodec commented Feb 18, 2024

Is your feature request related to a problem? Please describe.

Currently my project has a few ESLint warnings that I'm allowing to remain for the time being, which means that I don't want to see the warnings on the website overlay (BUT i still want to see errors on the overlay). And I would like to see both in the terminal

Describe the solution you'd like

It would be awesome if you could set logLevel for terminal and overlay separetely. Instead of:

dev: {
  logLevel: ["error","warning"]
}

something like:

dev: {
  terminalLogLevel: ["error","warning"],
  overlayLogLevel: ["error"]
}

Describe alternatives you've considered

Additional context

Validations

  • Read the docs.
  • Read the Contributing Guidelines.
  • Check that there isn't already an issue that asks for the same feature to avoid creating a duplicate.
@tnurzynski
Copy link

tnurzynski commented Jun 28, 2024

depending on your needs, this might help:

  overlay: {
    initialIsOpen: 'error'
  }

this way you will only see a small badge in the corner. That was enough for me. However, it won't help if you need to hide it completely

@Miodec
Copy link
Author

Miodec commented Jul 1, 2024

depending on your needs, this might help:

  overlay: {
    initialIsOpen: 'error'
  }

this way you will only see a small badge in the corner. That was enough for me. However, it won't help if you need to hide it completely

This doesn't remove warnings from the overlay.

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

2 participants