From 1b3a9d24a75fba99289f8c93d310f9ddd072d32d Mon Sep 17 00:00:00 2001 From: Joseph Kato Date: Mon, 19 Feb 2024 00:46:30 -0800 Subject: [PATCH] Remove range-related rules --- Microsoft/RangeFormat.yml | 13 ------------- Microsoft/Ranges.yml | 7 ------- 2 files changed, 20 deletions(-) delete mode 100644 Microsoft/RangeFormat.yml delete mode 100644 Microsoft/Ranges.yml diff --git a/Microsoft/RangeFormat.yml b/Microsoft/RangeFormat.yml deleted file mode 100644 index bae3e21..0000000 --- a/Microsoft/RangeFormat.yml +++ /dev/null @@ -1,13 +0,0 @@ -extends: existence -message: "Use an en dash in a range of numbers." -link: https://docs.microsoft.com/en-us/style-guide/numbers -nonword: true -level: error -action: - name: edit - params: - - regex - - "-" - - "–" -tokens: - - '\b\d+\s?-\s?\d+\b' diff --git a/Microsoft/Ranges.yml b/Microsoft/Ranges.yml deleted file mode 100644 index 67d9702..0000000 --- a/Microsoft/Ranges.yml +++ /dev/null @@ -1,7 +0,0 @@ -extends: existence -message: "In most cases, use 'from' or 'through' to describe a range of numbers." -link: 'https://docs.microsoft.com/en-us/style-guide/numbers' -nonword: true -level: warning -tokens: - - '\b\d+\s?[-–]\s?\d+\b'