Update README.md
This commit is contained in:
Родитель
4e706851b7
Коммит
abf8af8d64
17
README.md
17
README.md
|
@ -195,6 +195,15 @@ Checks that strings do not contain Objective-C style alternative position tokens
|
|||
|
||||
Objective-C seems to be allows positional tokens of the form `%1@` rather than `%1$@`. While not illegal, it is preferred that all tokens between languages are consistent so that tools don't experience unexpected failures, etc.
|
||||
|
||||
## Placeholder token explanation
|
||||
|
||||
Identifier: `placeholder_token_explanation`
|
||||
Opt-In: `true`
|
||||
|
||||
Checks that if a placeholder is used in a string, the comment explicitly explains what it is replaced with.
|
||||
|
||||
Precondition: Each placeholder in the string and its explanation in comment is expected to follow `token_position_identifiers` rule.
|
||||
|
||||
## Swift Interpolation
|
||||
|
||||
Identifier: `swift_interpolation`
|
||||
|
@ -232,14 +241,6 @@ Check that each token has a position specifier with it. e.g. `%s` is not allowed
|
|||
|
||||
</details>
|
||||
|
||||
## Placeholder token explanation
|
||||
|
||||
Identifier: `placeholder_token_explanation`
|
||||
Opt-In: `true`
|
||||
|
||||
Checks that if a placeholder is used in a string, the comment explicitly explains what it is replaced with.
|
||||
Precondition: Each placeholder in the string and its explanation in comment is expected to follow `token_position_identifiers` rule.
|
||||
|
||||
# Contributing
|
||||
|
||||
This project welcomes contributions and suggestions. Most contributions require you to agree to a
|
||||
|
|
Загрузка…
Ссылка в новой задаче