Dt 7256 ignored razor expressions environment variable only works from command line #264
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request includes various changes to improve documentation, correct typos, and enhance functionality in several files. The most important changes include adding a new ignore words list to the
.cspell.json
file, fixing typos across multiple files, and enhancing theapplyRazor
function for better regex handling.Documentation and Comments:
.cspell.json
: Added a comprehensive list of words to ignore for spell checking.template/doc.go
: Added a detailed package-level comment to describe the functionalities provided by thetemplate
package.Typo Fixes:
collections/implementation/generic_test.go
: Corrected "Non existant" to "Non existent" in multiple test cases. [1] [2] [3]hcl/generated_test.go
: Corrected "Non existant" to "Non existent" in multiple test cases. [1] [2] [3]json/generated_test.go
: Corrected "Non existant" to "Non existent" in multiple test cases. [1] [2] [3]template/extra_math.go
: Corrected "substraction" to "subtraction".template/extra_runtime.go
: Corrected multiple instances of "formated" to "formatted". [1] [2] [3]template/extra_utils.go
: Corrected "forgeround" to "foreground".template/func_table.go
: Corrected "detailled" to "detailed".Functionality Enhancements:
template/razor.go
: Improved theapplyRazor
function to ensure regex is not greedy and stops at the end of the expression.template/razor_test.go
: Added new test cases forapplyRazor
function to handle strict error checking and various scenarios.Miscellaneous:
README.md
: Added a link to the library usage documentation.main.go
: Updated the documentation URL.render-doc
: Modified the script to exclude specific lines from the README.