#Hi ! Quick question: in Unity 6, we can

1 messages · Page 1 of 1 (latest)

spare harness
#

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?

storm roost
#

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.

spare harness
#

What sort of flag do they need?

#

Is it // <auto-generated/>?

#

I can look at adding it into the generated files

storm roost
#

Yes, that's the flag needed

spare harness
#

Ah great ill get it added

storm roost
#

Thanks for taking the time to answer me, appreciated