Skip to content

Commit

Permalink
Adding spellcheck to other templates (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
Keboo authored Oct 15, 2023
1 parent 8aa4381 commit b939e82
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 0 deletions.
11 changes: 11 additions & 0 deletions templates/Library/NuGet/.editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ csharp_preserve_single_line_statements = true
csharp_style_namespace_declarations = block_scoped:silent
csharp_style_prefer_method_group_conversion = true:silent
csharp_style_prefer_top_level_statements = true:silent
csharp_style_prefer_primary_constructors = false:suggestion

#### Naming styles ####
[*.{cs,vb}]
Expand Down Expand Up @@ -376,3 +377,13 @@ tab_width = 4
indent_size = 4
end_of_line = crlf

###############################
# Spell Check #
###############################
# https://learn.microsoft.com/visualstudio/ide/text-spell-checker
spelling_exclusion_path = .\exclusions.dic
spelling_checkable_types = strings,identifiers,comments
# Update this to match your prefered language, you will need to ensure you have the language pack installed for the language
spelling_languages = en-us
# This is only the level that spelling errors occur in the Error List, it is not actually a compile-time warning/error
spelling_error_severity = information
Empty file.
11 changes: 11 additions & 0 deletions templates/WPF/WpfApp/.editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ csharp_preserve_single_line_statements = true
csharp_style_namespace_declarations = block_scoped:silent
csharp_style_prefer_method_group_conversion = true:silent
csharp_style_prefer_top_level_statements = true:silent
csharp_style_prefer_primary_constructors = false:suggestion

#### Naming styles ####
[*.{cs,vb}]
Expand Down Expand Up @@ -376,3 +377,13 @@ tab_width = 4
indent_size = 4
end_of_line = crlf

###############################
# Spell Check #
###############################
# https://learn.microsoft.com/visualstudio/ide/text-spell-checker
spelling_exclusion_path = .\exclusions.dic
spelling_checkable_types = strings,identifiers,comments
# Update this to match your prefered language, you will need to ensure you have the language pack installed for the language
spelling_languages = en-us
# This is only the level that spelling errors occur in the Error List, it is not actually a compile-time warning/error
spelling_error_severity = information
Empty file.

0 comments on commit b939e82

Please sign in to comment.