C#-MaximumLineLength¶
The length of a line of code must not exceed the character limit
Required inputs: CSharpAST
Possible Messages
Key |
Text |
Severity |
Disabled |
|---|---|---|---|
excessive_line_length |
Limit the length of a line of code to {0} characters. |
None |
False |
excessive_line_length_with_value |
Length of a line with {0} characters exceeds limit of {1} characters. |
None |
False |
Options¶
This rule shares the following common options: excludes, includes, justification_checker, post_processing, provider, severity
The following places define options that affect this rule: Stylechecks, Analysis-GlobalOptions
ignore_comments¶
ignore_comments : bool = False
maximum_length¶
maximum_length : int = 160
show_value¶
show_value : bool = False
tab_width¶
tab_width : int = 4