lonely http - bhsd-harry/wikiparser-node GitHub Wiki
lonely-http
⚠️ By default, this rule reports plain-text http://
or https://
as warnings.
Examples
Examples of incorrect code for { "lonely-http": 2 }
:
中文http://example.com
Examples of correct code for { "lonely-http": 0 }
:
中文http://example.com
Options
ISBN
This option can be configured to specify the severity of plain-text ISBN
.
Examples of incorrect code for { "lonely-http": [ 0, { "ISBN": 2 } ] }
:
ISBN:1234567890
Examples of correct code for { "lonely-http": [ 2, { "ISBN": 0 } ] }
:
ISBN:1234567890
PMID
This option can be configured to specify the severity of plain-text PMID
.
Examples of incorrect code for { "lonely-http": [ 0, { "PMID": 2 } ] }
:
PMID:1234567890
Examples of correct code for { "lonely-http": [ 2, { "PMID": 0 } ] }
:
PMID:1234567890
RFC
This option can be configured to specify the severity of plain-text RFC
.
Examples of incorrect code for { "lonely-http": [ 0, { "RFC": 2 } ] }
:
RFC:1234567890
Examples of correct code for { "lonely-http": [ 2, { "RFC": 0 } ] }
:
RFC:1234567890