Skip to content

Commit

Permalink
Also ignore dotsettings and sln (#709)
Browse files Browse the repository at this point in the history
* Update SnippetFileExclusions.cs

* Update exclusion.md
  • Loading branch information
SimonCropp authored Mar 26, 2024
1 parent f36f007 commit d475f0f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
8 changes: 5 additions & 3 deletions docs/exclusion.md
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ All binary files as defined by https://github.com/sindresorhus/binary-extensions
"zip",
"zipx"
```
<sup><a href='/src/MarkdownSnippets/Reading/Exclusions/SnippetFileExclusions.cs#L28-L297' title='Snippet source file'>snippet source</a> | <a href='#snippet-BinaryFileExtensions' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/MarkdownSnippets/Reading/Exclusions/SnippetFileExclusions.cs#L30-L299' title='Snippet source file'>snippet source</a> | <a href='#snippet-BinaryFileExtensions' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->


Expand All @@ -372,9 +372,11 @@ Files that cannot contain comments are excluded.
<!-- snippet: NoAcceptCommentsExtensions -->
<a id='snippet-NoAcceptCommentsExtensions'></a>
```cs
"DotSettings",
"csv",
"json",
"geojson"
"geojson",
"sln"
```
<sup><a href='/src/MarkdownSnippets/Reading/Exclusions/SnippetFileExclusions.cs#L16-L22' title='Snippet source file'>snippet source</a> | <a href='#snippet-NoAcceptCommentsExtensions' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/MarkdownSnippets/Reading/Exclusions/SnippetFileExclusions.cs#L16-L24' title='Snippet source file'>snippet source</a> | <a href='#snippet-NoAcceptCommentsExtensions' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,11 @@ public static bool CanContainCommentsExtension(string extension) =>

#region NoAcceptCommentsExtensions

"DotSettings",
"csv",
"json",
"geojson"
"geojson",
"sln"

#endregion
};
Expand Down

0 comments on commit d475f0f

Please sign in to comment.