Skip to content

unterminated url

Bhsd edited this page May 22, 2026 · 4 revisions

⚠️ By default, this rule reports URLs containing | or full-width punctuations as warnings.

Examples

Examples of correct code for { "unterminated-url": 2 }:

[//example.com。]
https://example.com|Example

Options

pipe

This option can be configured to specify the severity of URLs containing |.

Examples of incorrect code for { "unterminated-url": [ 0, { "pipe": 2 } ] }:

[//example.com|Example]

Examples of correct code for { "unterminated-url": { "pipe": 0 } }:

[//example.com|Example]

punctuation

This option can be configured to specify the severity of URLs containing full-width punctuations.

Examples of incorrect code for { "unterminated-url": [ 0, { "punctuation": 2 } ] }:

https://example.com。

Examples of correct code for { "unterminated-url": { "punctuation": 0 } }:

https://example.com。

Clone this wiki locally