I'm using Visual Studio Code to write my scripts in C# for Unity. Unfortunately I have redundant warnings that resolving cause my project to broke. Mostly I am talking about:
- IDE0051 Remove unused private member - for functions Start() & Update()
- IDE0044 Make field readonly - I'm using [SerializeFields] for my private fields, which changing them to readonly makes them not visible in Inspector.
Using #pragma warning disable
works, but I'm looking for solution to my whole project.
Main .NET Microsoft site for these warnings (here, and here) suggests that I need to set its severity to none in configuration file. The problem is I don't know where configuration file for VS Code projects is. So I'm stuck.