Can StyleCop automatically fix anything?

后端 未结 9 2295
盖世英雄少女心
盖世英雄少女心 2020-12-30 22:20

I\'ve decided to start running StyleCop on a medium sized project and am getting over 1000 warnings.

Is there a quick easy way to fix most of these warnings? Most of

9条回答
  •  萌比男神i
    2020-12-30 22:41

    StyleCopFixer automatically fixes StyleCop exceptions within Visual Studio IDE for C# Only.

    Errors currently catered for are:

    1. SA1001
    2. SA1516
    3. SA1513
    4. SA1508
    5. SA1507
    6. SA1505
    7. SA1309
    8. SA1210
    9. SA1202
    10. SA1200
    11. SA1106
    12. SA1101
    13. SA1025
    14. SA1013
    15. SA1012
    16. SA1009
    17. SA1008
    18. SA1633
    19. SA1003
    20. SA1005
    21. SA1600 (for properties only)
    22. SA1121

提交回复
热议问题