Skip to content

Commit

Permalink
Add license header to .editorconfig
Browse files Browse the repository at this point in the history
Ensures new files will always be bootstrapped with the Elastic license header and thus satisfy our CI check for it
  • Loading branch information
Mpdreamz committed Nov 11, 2024
1 parent f73df07 commit f9bafb0
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ indent_size = 4
# Spell checker configuration
spelling_exclusion_path = "./build/exclusion.dic"

[*.{fs,fsx,cs,vb}]
file_header_template=Licensed to Elasticsearch B.V under one or more agreements.\nElasticsearch B.V licenses this file to you under the Apache 2.0 License.\nSee the LICENSE file in the project root for more information

[*.{fs,fsx}]
indent_style = space
indent_size = 4
Expand Down
1 change: 1 addition & 0 deletions build/Program.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Licensed to Elasticsearch B.V under one or more agreements.
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information

using ConsoleAppFramework;
using ProcNet;
using Zx;
Expand Down
4 changes: 4 additions & 0 deletions src/Elastic.Markdown/Diagnostics/DiagnosticsChannel.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Licensed to Elasticsearch B.V under one or more agreements.
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information

using System.Threading.Channels;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Licensed to Elasticsearch B.V under one or more agreements.
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information

using Elastic.Markdown.Myst;
using Markdig.Helpers;
using Markdig.Parsers;
Expand Down
4 changes: 4 additions & 0 deletions src/Elastic.Markdown/Myst/ParserContext.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Licensed to Elasticsearch B.V under one or more agreements.
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information

using System.IO.Abstractions;
using Markdig;
using Markdig.Parsers;
Expand Down
4 changes: 4 additions & 0 deletions src/docs-builder/Diagnostics/ErrorCollector.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Licensed to Elasticsearch B.V under one or more agreements.
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information

using System.Diagnostics.CodeAnalysis;
using System.Text;
using Actions.Core;
Expand Down

0 comments on commit f9bafb0

Please sign in to comment.