Skip to content

Commit 25834f3

Browse files
committed
chore: apply editorconfig settings manually
1 parent cf0629b commit 25834f3

File tree

12 files changed

+179
-179
lines changed

12 files changed

+179
-179
lines changed

ReadMe.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ConsoleAppFramework
1+
ConsoleAppFramework
22
===
33
[![GitHub Actions](https://github.com/Cysharp/ConsoleAppFramework/workflows/Build-Debug/badge.svg)](https://github.com/Cysharp/ConsoleAppFramework/actions) [![Releases](https://img.shields.io/github/release/Cysharp/ConsoleAppFramework.svg)](https://github.com/Cysharp/ConsoleAppFramework/releases)
44

exclusion.dic

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
abcd
1+
abcd
22
abcde
33
abcdefg
44
aiueo
Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,41 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

3-
<PropertyGroup>
4-
<OutputType>Exe</OutputType>
5-
<TargetFramework>net8.0</TargetFramework>
6-
<ImplicitUsings>enable</ImplicitUsings>
7-
<nullable>annotations</nullable>
8-
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
9-
<IsPackable>false</IsPackable>
10-
<Configurations>Debug;Release</Configurations>
11-
</PropertyGroup>
3+
<PropertyGroup>
4+
<OutputType>Exe</OutputType>
5+
<TargetFramework>net8.0</TargetFramework>
6+
<ImplicitUsings>enable</ImplicitUsings>
7+
<nullable>annotations</nullable>
8+
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
9+
<IsPackable>false</IsPackable>
10+
<Configurations>Debug;Release</Configurations>
11+
</PropertyGroup>
1212

13-
<ItemGroup>
14-
<Compile Include="..\GeneratorSandbox\Filters.cs" />
15-
</ItemGroup>
13+
<ItemGroup>
14+
<Compile Include="..\GeneratorSandbox\Filters.cs" />
15+
</ItemGroup>
1616

17-
<ItemGroup>
18-
<PackageReference Include="BenchmarkDotNet" Version="0.14.0" />
19-
<PackageReference Include="CliFx" Version="2.3.5" />
20-
<PackageReference Include="clipr" Version="1.6.1" />
21-
<PackageReference Include="Cocona" Version="2.2.0" />
22-
<PackageReference Include="Cocona.Lite" Version="2.2.0" />
23-
<PackageReference Include="CommandLineParser" Version="2.9.1" />
24-
<!--<PackageReference Include="ConsoleAppFramework" Version="4.2.4" />-->
25-
<PackageReference Include="McMaster.Extensions.CommandLineUtils" Version="4.1.1" />
26-
<PackageReference Include="Microsoft.Extensions.Hosting" Version="9.0.0" />
27-
<PackageReference Include="PowerArgs" Version="4.0.3" />
28-
<PackageReference Include="Spectre.Console.Cli" Version="0.49.1" />
29-
<PackageReference Include="System.CommandLine" Version="2.0.0-beta4.22272.1" />
30-
<PackageReference Include="System.CommandLine.NamingConventionBinder" Version="2.0.0-beta4.22272.1" />
31-
</ItemGroup>
17+
<ItemGroup>
18+
<PackageReference Include="BenchmarkDotNet" Version="0.14.0" />
19+
<PackageReference Include="CliFx" Version="2.3.5" />
20+
<PackageReference Include="clipr" Version="1.6.1" />
21+
<PackageReference Include="Cocona" Version="2.2.0" />
22+
<PackageReference Include="Cocona.Lite" Version="2.2.0" />
23+
<PackageReference Include="CommandLineParser" Version="2.9.1" />
24+
<!--<PackageReference Include="ConsoleAppFramework" Version="4.2.4" />-->
25+
<PackageReference Include="McMaster.Extensions.CommandLineUtils" Version="4.1.1" />
26+
<PackageReference Include="Microsoft.Extensions.Hosting" Version="9.0.0" />
27+
<PackageReference Include="PowerArgs" Version="4.0.3" />
28+
<PackageReference Include="Spectre.Console.Cli" Version="0.49.1" />
29+
<PackageReference Include="System.CommandLine" Version="2.0.0-beta4.22272.1" />
30+
<PackageReference Include="System.CommandLine.NamingConventionBinder" Version="2.0.0-beta4.22272.1" />
31+
</ItemGroup>
3232

3333

34-
<ItemGroup>
35-
<ProjectReference Include="..\..\src\ConsoleAppFramework\ConsoleAppFramework.csproj">
36-
<OutputItemType>Analyzer</OutputItemType>
37-
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
38-
</ProjectReference>
39-
</ItemGroup>
34+
<ItemGroup>
35+
<ProjectReference Include="..\..\src\ConsoleAppFramework\ConsoleAppFramework.csproj">
36+
<OutputItemType>Analyzer</OutputItemType>
37+
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
38+
</ProjectReference>
39+
</ItemGroup>
4040

4141
</Project>

sandbox/CliFrameworkBenchmark/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
https://github.com/Tyrrrz/CliFx/tree/master/CliFx.Benchmarks/
44

5-
https://github.com/mayuki/Cocona/tree/master/perf/Cocona.Benchmark.External
5+
https://github.com/mayuki/Cocona/tree/master/perf/Cocona.Benchmark.External

sandbox/FilterShareProject/FilterShareProject.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
<PropertyGroup>
44
<TargetFramework>net8.0</TargetFramework>
55
<ImplicitUsings>enable</ImplicitUsings>
6-
<IsPackable>false</IsPackable>
7-
<Nullable>enable</Nullable>
8-
<Configurations>Debug;Release</Configurations>
6+
<IsPackable>false</IsPackable>
7+
<Nullable>enable</Nullable>
8+
<Configurations>Debug;Release</Configurations>
99
</PropertyGroup>
1010

1111
<ItemGroup>
Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,42 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

3-
<PropertyGroup>
4-
<OutputType>Exe</OutputType>
5-
<TargetFramework>net9.0</TargetFramework>
6-
<LangVersion>13</LangVersion>
3+
<PropertyGroup>
4+
<OutputType>Exe</OutputType>
5+
<TargetFramework>net9.0</TargetFramework>
6+
<LangVersion>13</LangVersion>
77

8-
<ImplicitUsings>enable</ImplicitUsings>
9-
<Nullable>disable</Nullable>
10-
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
11-
<NoWarn>1701;1702;CS8321</NoWarn>
12-
<IsPackable>false</IsPackable>
8+
<ImplicitUsings>enable</ImplicitUsings>
9+
<Nullable>disable</Nullable>
10+
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
11+
<NoWarn>1701;1702;CS8321</NoWarn>
12+
<IsPackable>false</IsPackable>
1313

14-
<DefineConstants>USE_EXTERNAL_CONSOLEAPP_ABSTRACTIONS</DefineConstants>
14+
<DefineConstants>USE_EXTERNAL_CONSOLEAPP_ABSTRACTIONS</DefineConstants>
1515

16-
<Configurations>Debug;Release</Configurations>
17-
</PropertyGroup>
16+
<Configurations>Debug;Release</Configurations>
17+
</PropertyGroup>
1818

19-
<ItemGroup>
20-
<!--<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="9.0.0" />
19+
<ItemGroup>
20+
<!--<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="9.0.0" />
2121
<PackageReference Include="Microsoft.Extensions.Options.ConfigurationExtensions" Version="9.0.0" />-->
22-
<PackageReference Include="Microsoft.Extensions.Hosting" Version="9.0.0" />
23-
<!--<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="9.0.0" />-->
24-
<!--<PackageReference Include="ZLogger" Version="2.5.9" />-->
25-
</ItemGroup>
26-
27-
<ItemGroup>
28-
<ProjectReference Include="..\..\src\ConsoleAppFramework.Abstractions\ConsoleAppFramework.Abstractions.csproj" />
29-
<ProjectReference Include="..\..\src\ConsoleAppFramework\ConsoleAppFramework.csproj">
30-
<OutputItemType>Analyzer</OutputItemType>
31-
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
32-
</ProjectReference>
33-
<ProjectReference Include="..\FilterShareProject\FilterShareProject.csproj" />
34-
</ItemGroup>
35-
36-
<ItemGroup>
37-
<None Update="appsettings.json">
38-
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
39-
</None>
40-
</ItemGroup>
22+
<PackageReference Include="Microsoft.Extensions.Hosting" Version="9.0.0" />
23+
<!--<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="9.0.0" />-->
24+
<!--<PackageReference Include="ZLogger" Version="2.5.9" />-->
25+
</ItemGroup>
26+
27+
<ItemGroup>
28+
<ProjectReference Include="..\..\src\ConsoleAppFramework.Abstractions\ConsoleAppFramework.Abstractions.csproj" />
29+
<ProjectReference Include="..\..\src\ConsoleAppFramework\ConsoleAppFramework.csproj">
30+
<OutputItemType>Analyzer</OutputItemType>
31+
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
32+
</ProjectReference>
33+
<ProjectReference Include="..\FilterShareProject\FilterShareProject.csproj" />
34+
</ItemGroup>
35+
36+
<ItemGroup>
37+
<None Update="appsettings.json">
38+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
39+
</None>
40+
</ItemGroup>
4141

4242
</Project>

sandbox/NativeAot/NativeAot.csproj

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

3-
<PropertyGroup>
4-
<OutputType>Exe</OutputType>
5-
<TargetFramework>net9.0</TargetFramework>
6-
<ImplicitUsings>enable</ImplicitUsings>
7-
<Nullable>enable</Nullable>
8-
<IsPackable>false</IsPackable>
3+
<PropertyGroup>
4+
<OutputType>Exe</OutputType>
5+
<TargetFramework>net9.0</TargetFramework>
6+
<ImplicitUsings>enable</ImplicitUsings>
7+
<Nullable>enable</Nullable>
8+
<IsPackable>false</IsPackable>
99

10-
<PublishAot>true</PublishAot>
11-
<IsAotCompatible>true</IsAotCompatible>
12-
<Configurations>Debug;Release</Configurations>
13-
</PropertyGroup>
10+
<PublishAot>true</PublishAot>
11+
<IsAotCompatible>true</IsAotCompatible>
12+
<Configurations>Debug;Release</Configurations>
13+
</PropertyGroup>
1414

15-
<ItemGroup>
16-
<ProjectReference Include="..\..\src\ConsoleAppFramework\ConsoleAppFramework.csproj">
17-
<OutputItemType>Analyzer</OutputItemType>
18-
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
19-
</ProjectReference>
20-
</ItemGroup>
15+
<ItemGroup>
16+
<ProjectReference Include="..\..\src\ConsoleAppFramework\ConsoleAppFramework.csproj">
17+
<OutputItemType>Analyzer</OutputItemType>
18+
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
19+
</ProjectReference>
20+
</ItemGroup>
2121

2222
</Project>
Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

3-
<PropertyGroup>
4-
<TargetFramework>net8.0</TargetFramework>
5-
<ImplicitUsings>enable</ImplicitUsings>
6-
<Nullable>enable</Nullable>
3+
<PropertyGroup>
4+
<TargetFramework>net8.0</TargetFramework>
5+
<ImplicitUsings>enable</ImplicitUsings>
6+
<Nullable>enable</Nullable>
77

8-
<!-- NuGet -->
9-
<PackageId>ConsoleAppFramework.Abstractions</PackageId>
10-
<Description>ConsoleAppFramework external abstractions library.</Description>
11-
<Configurations>Debug;Release</Configurations>
12-
</PropertyGroup>
8+
<!-- NuGet -->
9+
<PackageId>ConsoleAppFramework.Abstractions</PackageId>
10+
<Description>ConsoleAppFramework external abstractions library.</Description>
11+
<Configurations>Debug;Release</Configurations>
12+
</PropertyGroup>
1313

14-
<ItemGroup>
15-
<None Include="ConsoleAppFramework.Abstractions.props" Pack="true" PackagePath="build" />
16-
<None Include="../../Icon.png" Pack="true" PackagePath="/" />
17-
</ItemGroup>
14+
<ItemGroup>
15+
<None Include="ConsoleAppFramework.Abstractions.props" Pack="true" PackagePath="build" />
16+
<None Include="../../Icon.png" Pack="true" PackagePath="/" />
17+
</ItemGroup>
1818

1919
</Project>
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2-
<PropertyGroup>
3-
<DefineConstants>USE_EXTERNAL_CONSOLEAPP_ABSTRACTIONS</DefineConstants>
4-
</PropertyGroup>
5-
</Project>
1+
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2+
<PropertyGroup>
3+
<DefineConstants>USE_EXTERNAL_CONSOLEAPP_ABSTRACTIONS</DefineConstants>
4+
</PropertyGroup>
5+
</Project>
Lines changed: 46 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -1,50 +1,50 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

3-
<PropertyGroup>
4-
<TargetFramework>netstandard2.0</TargetFramework>
5-
<LangVersion>12</LangVersion>
6-
<ImplicitUsings>enable</ImplicitUsings>
7-
<Nullable>enable</Nullable>
8-
<RootNamespace>ConsoleAppFramework</RootNamespace>
9-
<IsRoslynComponent>true</IsRoslynComponent>
10-
<AnalyzerLanguage>cs</AnalyzerLanguage>
11-
12-
<!-- this is analyzer only package, does not need runtime self -->
13-
<IncludeBuildOutput>false</IncludeBuildOutput>
14-
<SuppressDependenciesWhenPacking>true</SuppressDependenciesWhenPacking>
15-
<IncludeSymbols>false</IncludeSymbols>
16-
<DevelopmentDependency>true</DevelopmentDependency>
17-
<EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules>
18-
19-
<!-- NuGet -->
20-
<PackageId>ConsoleAppFramework</PackageId>
21-
<Description>Zero Dependency, Zero Overhead, Zero Reflection, Zero Allocation, AOT Safe CLI Framework powered by C# Source Generator.</Description>
22-
<Configurations>Debug;Release</Configurations>
23-
</PropertyGroup>
24-
25-
<ItemGroup>
26-
<Compile Remove="bin\**" />
27-
<EmbeddedResource Remove="bin\**" />
28-
<None Remove="bin\**" />
29-
</ItemGroup>
30-
31-
<ItemGroup>
32-
<!-- Roslyn for .NET 8 / C# 12 -->
33-
<!-- https://learn.microsoft.com/en-us/visualstudio/extensibility/roslyn-version-support -->
34-
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.8.0" />
35-
<PackageReference Include="PolySharp" Version="1.14.1">
36-
<PrivateAssets>all</PrivateAssets>
37-
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
38-
</PackageReference>
39-
</ItemGroup>
40-
41-
<ItemGroup>
42-
<!-- Create nuget package as analyzer -->
43-
<None Include="$(OutputPath)\$(AssemblyName).dll" Pack="true" PackagePath="analyzers/dotnet/cs" Visible="false" />
44-
</ItemGroup>
45-
46-
<ItemGroup>
47-
<None Include="../../Icon.png" Pack="true" PackagePath="/" />
48-
</ItemGroup>
3+
<PropertyGroup>
4+
<TargetFramework>netstandard2.0</TargetFramework>
5+
<LangVersion>12</LangVersion>
6+
<ImplicitUsings>enable</ImplicitUsings>
7+
<Nullable>enable</Nullable>
8+
<RootNamespace>ConsoleAppFramework</RootNamespace>
9+
<IsRoslynComponent>true</IsRoslynComponent>
10+
<AnalyzerLanguage>cs</AnalyzerLanguage>
11+
12+
<!-- this is analyzer only package, does not need runtime self -->
13+
<IncludeBuildOutput>false</IncludeBuildOutput>
14+
<SuppressDependenciesWhenPacking>true</SuppressDependenciesWhenPacking>
15+
<IncludeSymbols>false</IncludeSymbols>
16+
<DevelopmentDependency>true</DevelopmentDependency>
17+
<EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules>
18+
19+
<!-- NuGet -->
20+
<PackageId>ConsoleAppFramework</PackageId>
21+
<Description>Zero Dependency, Zero Overhead, Zero Reflection, Zero Allocation, AOT Safe CLI Framework powered by C# Source Generator.</Description>
22+
<Configurations>Debug;Release</Configurations>
23+
</PropertyGroup>
24+
25+
<ItemGroup>
26+
<Compile Remove="bin\**" />
27+
<EmbeddedResource Remove="bin\**" />
28+
<None Remove="bin\**" />
29+
</ItemGroup>
30+
31+
<ItemGroup>
32+
<!-- Roslyn for .NET 8 / C# 12 -->
33+
<!-- https://learn.microsoft.com/en-us/visualstudio/extensibility/roslyn-version-support -->
34+
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.8.0" />
35+
<PackageReference Include="PolySharp" Version="1.14.1">
36+
<PrivateAssets>all</PrivateAssets>
37+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
38+
</PackageReference>
39+
</ItemGroup>
40+
41+
<ItemGroup>
42+
<!-- Create nuget package as analyzer -->
43+
<None Include="$(OutputPath)\$(AssemblyName).dll" Pack="true" PackagePath="analyzers/dotnet/cs" Visible="false" />
44+
</ItemGroup>
45+
46+
<ItemGroup>
47+
<None Include="../../Icon.png" Pack="true" PackagePath="/" />
48+
</ItemGroup>
4949
</Project>
5050

0 commit comments

Comments
 (0)