rmuir opened a new pull request, #14818:
URL: https://github.com/apache/lucene/pull/14818

   These html files (whether manually or automatically generated) have 
inconsistent usage of 'gt' and 'amp' html entities: sometimes they do it, 
sometimes they neglect to use it.
   
   I added rules to try to keep these kinds of problems at bay: not really 
ideal but it works in lieu of some better linter for the long tail of file 
types, looks like this:
   
   ```
   error[json-syntax]: Parse Error
     ┌─ 
lucene/test-framework/src/generated/checksums/generateEmojiTokenizationTest.json:4:38
     │
   4 │     "property:unicodeVersion": "12.1",
     │                                      ^
     │
     = Treesitter parse error: editors and tools may treat it incorrectly.
       Check for trailing commas and comments, which JSON forbids.
   
   error[css-syntax]: Parse Error
       ┌─ 
lucene/analysis/common/src/test/org/apache/lucene/analysis/charfilter/MS-Word 
14 generated.htm:333:1
       │
   333 │ <!--
       │ ^^^^
       │
       = Treesitter parse error: editors and tools may treat it incorrectly.
         Disable false-positives with /* ast-grep-ignore */
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to