From d93b2f16e484ad1f46400f2aded7439ae9fbd070 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Fri, 30 Jul 2021 16:12:47 +0200 Subject: [PATCH] Remove the promising swiftlint rule that catches urls in doc comments It yields false positives. https://github.com/groue/GRDB.swift/pull/1012#issuecomment-889919351 --- .swiftlint.yml | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/.swiftlint.yml b/.swiftlint.yml index a76568548..3d7960402 100644 --- a/.swiftlint.yml +++ b/.swiftlint.yml @@ -61,15 +61,3 @@ opt_in_rules: vertical_whitespace: max_empty_lines: 2 - -custom_rules: - # In doc comments (which start with ///), any link like http(s): must be wrapped in to make it clickable in Xcode's rendered documentation. - angle_brackets_on_links_in_documentation: - name: "Angle brackets on links in documentation" - # exclude `](` to avoid triggering on Markdown URLs. - # exclude `<` so we don't trigger on URLs that are already bracketed. - # Note: does not catch missing `>` at the end of a URL; only missing `<` at the beginning. - regex: '^(\s+///.*[^<][^\]\(])(https?\:).+[^\n]' - capture_group: 2 - message: "Links in documentation must be wrapped in ." - severity: warning