Compare commits

...

4 Commits

Author SHA1 Message Date
Vlad e91fd38760 Code correction 2020-09-17 22:22:53 +03:00
Vlad 79c3550f06 Code correction 2020-09-17 22:17:21 +03:00
Vlad d2aca991cf Add analyzer_rules 2020-09-17 22:12:08 +03:00
Vlad c1c7928a61 Add indentation_width 2020-09-15 15:24:45 +03:00
1 changed files with 25 additions and 0 deletions

View File

@ -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: