Add .editorconfig
This commit is contained in:
parent
43d29e0a12
commit
63d373611c
3 changed files with 6 additions and 5 deletions
|
@ -5,6 +5,7 @@
|
|||
<e p="$USER_HOME$/.Rider2019.2/system/resharper-host/local/Transient/ReSharperHost/v192/SolutionCaches/_NucuCar.855615882.00" t="ExcludeRecursive" />
|
||||
<e p="$PROJECT_DIR$" t="IncludeFlat">
|
||||
<e p="NucuCar.BME680Sensor" t="IncludeRecursive">
|
||||
<e p=".editorconfig" t="Include" />
|
||||
<e p="NucuCar.BME680Sensor.csproj" t="IncludeRecursive" />
|
||||
<e p="Program.cs" t="Include" />
|
||||
<e p="Properties" t="Include">
|
||||
|
|
4
NucuCar.BME680Sensor/.editorconfig
Normal file
4
NucuCar.BME680Sensor/.editorconfig
Normal file
|
@ -0,0 +1,4 @@
|
|||
# File to disable Rider inspection warnings, unfortunately it adds more inspection warnings.
|
||||
[*]
|
||||
resharper_class_never_instantiated_global_highlighting=none
|
||||
resharper_member_can_be_private_global_highlighting=none
|
|
@ -1,7 +1,3 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using Microsoft.Extensions.Hosting;
|
||||
|
||||
|
@ -13,7 +9,7 @@ namespace NucuCar.BME680Sensor
|
|||
{
|
||||
CreateHostBuilder(args).Build().Run();
|
||||
}
|
||||
|
||||
|
||||
public static IHostBuilder CreateHostBuilder(string[] args) =>
|
||||
Host.CreateDefaultBuilder(args)
|
||||
.ConfigureServices((hostContext, services) => { services.AddHostedService<Worker>(); });
|
||||
|
|
Loading…
Reference in a new issue