From 63d373611ccdfb5a6a4efc810aaa1f509d95cb4a Mon Sep 17 00:00:00 2001 From: Denis-Cosmin Nutiu Date: Sat, 9 Nov 2019 15:39:15 +0200 Subject: [PATCH] Add .editorconfig --- .idea/.idea.NucuCar/.idea/contentModel.xml | 1 + NucuCar.BME680Sensor/.editorconfig | 4 ++++ NucuCar.BME680Sensor/Program.cs | 6 +----- 3 files changed, 6 insertions(+), 5 deletions(-) create mode 100644 NucuCar.BME680Sensor/.editorconfig diff --git a/.idea/.idea.NucuCar/.idea/contentModel.xml b/.idea/.idea.NucuCar/.idea/contentModel.xml index c923029..8c665cb 100644 --- a/.idea/.idea.NucuCar/.idea/contentModel.xml +++ b/.idea/.idea.NucuCar/.idea/contentModel.xml @@ -5,6 +5,7 @@ + diff --git a/NucuCar.BME680Sensor/.editorconfig b/NucuCar.BME680Sensor/.editorconfig new file mode 100644 index 0000000..93b816d --- /dev/null +++ b/NucuCar.BME680Sensor/.editorconfig @@ -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 \ No newline at end of file diff --git a/NucuCar.BME680Sensor/Program.cs b/NucuCar.BME680Sensor/Program.cs index ad5a7e9..2d4eac6 100644 --- a/NucuCar.BME680Sensor/Program.cs +++ b/NucuCar.BME680Sensor/Program.cs @@ -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(); });