Understand StyleCop.Analyzers rule areas
masterStyleCop.Analyzers organizes its style and consistency warnings into several rule areas. Understanding these areas helps you navigate the documentation for specific rule violations:
- Special Rules (SA0000-): Special functionality such as workarounds or configuration errors.
- Spacing Rules (SA1000-): Spacing requirements around keywords and symbols.
- Readability Rules (SA1100-): Code formatting and readability standards.
- Ordering Rules (SA1200-): Standard ordering schemes for code contents.
- Naming Rules (SA1300-): Naming requirements for members, types, and variables.
- Maintainability Rules (SA1400-): Rules focused on improving code maintainability.
- Layout Rules (SA1500-): Code layout and line spacing.
- Documentation Rules (SA1600-): Content and formatting of code documentation.
- Alternative Rules (SX0000-): Non-standard extensions to default StyleCop behavior.