quoted-strings: update allow-quoted-quotes docs

make the docs more easily understandable:
no need to specify `required: true` option
This commit is contained in:
Roman Geraskin
2022-08-06 21:44:02 +03:00
parent b2a4dd0f0e
commit c3b05ae433

View File

@@ -116,8 +116,7 @@ used.
- "localhost" - "localhost"
- this is a string that needs to be QUOTED - this is a string that needs to be QUOTED
#. With ``quoted-strings: {quote-type: double, required: true, #. With ``quoted-strings: {quote-type: double, allow-quoted-quotes: false}``
allow-quoted-quotes: false}``
the following code snippet would **PASS**: the following code snippet would **PASS**:
:: ::
@@ -129,8 +128,7 @@ used.
foo: 'bar"baz' foo: 'bar"baz'
#. With ``quoted-strings: {quote-type: double, required: true, #. With ``quoted-strings: {quote-type: double, allow-quoted-quotes: true}``
allow-quoted-quotes: true}``
the following code snippet would **PASS**: the following code snippet would **PASS**:
:: ::