-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Draft implementation of block begin/end
This is a rough draft for https://github.com/check-spelling/check-spelling/wiki/Feature%3A-Block-Ignore It includes tests, but not code to trigger it from unknown-words/check-spelling. Initial file format for `block-delimiters.list`: ```block-delimiters.list # Description of format 1 <begin token for format 1> <end token for format 1> # Description of format 2 <begin token for format 2> <end token for format 2> ``` Note that this file format has serious drawbacks and is likely to be replaced before this feature ships. Possible replacement file format under consideration: ```block-ignore.rules name: format 1 begin-pattern: (regular-expression) end-pattern: (regular-expression) file-path-pattern: (regular-expression) stop-after-pattern: (regular-expression) ```
- Loading branch information
Showing
7 changed files
with
138 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# block ignore | ||
<!--no check spelling--> | ||
<!--/--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
gsutil | ||
ikea | ||
microsoft | ||
spammed | ||
timeframe | ||
workflows |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters