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:
@@ -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**:
|
||||||
::
|
::
|
||||||
|
|||||||
Reference in New Issue
Block a user