Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| e91fd38760 | |||
| 79c3550f06 | |||
| d2aca991cf | |||
| c1c7928a61 |
@@ -64,6 +64,7 @@ opt_in_rules:
|
||||
- identical_operands
|
||||
- overridden_super_call
|
||||
- unowned_variable_capture
|
||||
- indentation_width
|
||||
|
||||
# metrics
|
||||
|
||||
@@ -109,6 +110,30 @@ identifier_name:
|
||||
- y
|
||||
- z
|
||||
|
||||
indentation_width:
|
||||
indentation_width: 4
|
||||
severity: error
|
||||
match_kinds:
|
||||
- argument
|
||||
- attribute.builtin
|
||||
- attribute.id
|
||||
- buildconfig.id
|
||||
- buildconfig.keyword
|
||||
- identifier
|
||||
- keyword
|
||||
- number
|
||||
- objectliteral
|
||||
# - parameter
|
||||
- placeholder
|
||||
# - string # all except string literals
|
||||
# - comment # and comments
|
||||
# - comment.mark
|
||||
# - comment.url
|
||||
# - doccomment
|
||||
# - doccomment.field
|
||||
- string_interpolation_anchor
|
||||
- typeidentifier
|
||||
|
||||
warning_threshold: 1
|
||||
|
||||
custom_rules:
|
||||
|
||||
Reference in New Issue
Block a user