Skip to content

Commit f9bafb0

Browse files
committed
Add license header to .editorconfig
Ensures new files will always be bootstrapped with the Elastic license header and thus satisfy our CI check for it
1 parent f73df07 commit f9bafb0

File tree

6 files changed

+20
-0
lines changed

6 files changed

+20
-0
lines changed

.editorconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ indent_size = 4
77
# Spell checker configuration
88
spelling_exclusion_path = "./build/exclusion.dic"
99

10+
[*.{fs,fsx,cs,vb}]
11+
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
12+
1013
[*.{fs,fsx}]
1114
indent_style = space
1215
indent_size = 4

build/Program.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// Licensed to Elasticsearch B.V under one or more agreements.
22
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
33
// See the LICENSE file in the project root for more information
4+
45
using ConsoleAppFramework;
56
using ProcNet;
67
using Zx;

src/Elastic.Markdown/Diagnostics/DiagnosticsChannel.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Licensed to Elasticsearch B.V under one or more agreements.
2+
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
3+
// See the LICENSE file in the project root for more information
4+
15
using System.Threading.Channels;
26
using Microsoft.Extensions.Hosting;
37
using Microsoft.Extensions.Logging;

src/Elastic.Markdown/Diagnostics/ProcessorDiagnosticExtensions.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Licensed to Elasticsearch B.V under one or more agreements.
2+
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
3+
// See the LICENSE file in the project root for more information
4+
15
using Elastic.Markdown.Myst;
26
using Markdig.Helpers;
37
using Markdig.Parsers;

src/Elastic.Markdown/Myst/ParserContext.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Licensed to Elasticsearch B.V under one or more agreements.
2+
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
3+
// See the LICENSE file in the project root for more information
4+
15
using System.IO.Abstractions;
26
using Markdig;
37
using Markdig.Parsers;

src/docs-builder/Diagnostics/ErrorCollector.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Licensed to Elasticsearch B.V under one or more agreements.
2+
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
3+
// See the LICENSE file in the project root for more information
4+
15
using System.Diagnostics.CodeAnalysis;
26
using System.Text;
37
using Actions.Core;

0 commit comments

Comments
 (0)