#Hi ! Quick question: in Unity 6, we can
1 messages · Page 1 of 1 (latest)
No there's no control over this, they are generated as part of a source generator. Can you add an exception to ignore files with .gen.cs?
According to our devops, our stylesscop implementation can't do this. looks like generated files need to have a flag in them for stylescop to ignore them (forums and documentation we found confirmed it). I tried ignoring .gen.cs files through .editorconfig with no effect.
What sort of flag do they need?
Is it // <auto-generated/>?
I can look at adding it into the generated files
Yes, that's the flag needed
Ah great ill get it added
Thanks for taking the time to answer me, appreciated