0

I've looked through ESLint's documentation and I can't seem to find the property that's responsible the red background. How can I remove this red background?

I'm using VSCode. Just to clarify, I want to keep the red squiggly lines, but not the red background. It makes it difficult to read my code if everything is lit up red

Big red background that I'd like to remove

javedb
  • 228
  • 2
  • 12
  • it's your editor. – oreopot May 24 '20 at 13:28
  • I would worry about removing error itself. By the way, you should use `onClick={(prev) => setPadding(prev + 15)}` – Ajeet Shah May 24 '20 at 13:42
  • The issue is, for example, if I haven't finished writing a function yet my entire file will light up red, which makes it very difficult to read my code. I just want the red squiggly lines but not the red background. – javedb May 24 '20 at 13:46

1 Answers1

0

You can change editor.rangeHighlightBackground for vs code. See this topic: https://stackoverflow.com/a/43896449/12282249

Denis Stukalov
  • 1,236
  • 1
  • 6
  • 11