This commit is contained in:
Igor Kislyuk 2017-12-04 11:19:51 +03:00
parent 0c11df8c96
commit 6c43a7e123
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ custom_rules:
private_variable:
name: "Private variable"
regex: '(?<!private\s)let\s\w*(:|(\s=))\sVariable'
regex: '(?<!private\s\w*)let\s\w*(:|(\s=))\sVariable'
message: "Please use (file)private with variable."
severity: error