You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While generated data doesn't necessarily fall out of scope of an EditorConfig check, I believe generated source code should have all properties unset by default, since often its format can't be controlled at generation time and an exact hash value of the generated data is matched against by some systems (e.g., PDM lock files). Alternatively, a single configuration option without a default, to reset all properties for generated data would be valuable too.
See https://learn.microsoft.com/en-us/visualstudio/code-quality/use-roslyn-analyzers?view=vs-2019#configure-generated-code for the generated data convention with EditorConfig.
While generated data doesn't necessarily fall out of scope of an EditorConfig check, I believe generated source code should have all properties unset by default, since often its format can't be controlled at generation time and an exact hash value of the generated data is matched against by some systems (e.g., PDM lock files). Alternatively, a single configuration option without a default, to reset all properties for generated data would be valuable too.
Example
Should evaluate to at least:
The text was updated successfully, but these errors were encountered: