From 5acf72381ec778a0f0ea1dd63b30a3151dbfc278 Mon Sep 17 00:00:00 2001 From: Goetz Goerisch Date: Wed, 25 Sep 2024 11:18:19 +0200 Subject: [PATCH] refactor: linting json --- .github/linters/.eslintrc.yml | 1 - .github/linters/.stylelintrc.json | 2 +- Properties/launchSettings.json | 86 +++++++++++++++---------------- appsettings.Development.json | 6 +-- appsettings.json | 20 +++---- libman.json | 20 +++---- 6 files changed, 67 insertions(+), 68 deletions(-) diff --git a/.github/linters/.eslintrc.yml b/.github/linters/.eslintrc.yml index 11b99b4..a3f0b04 100644 --- a/.github/linters/.eslintrc.yml +++ b/.github/linters/.eslintrc.yml @@ -7,7 +7,6 @@ env: jest: true node: true extends: - - "plugin:json/recommended" - "eslint:recommended" parserOptions: ecmaFeatures: diff --git a/.github/linters/.stylelintrc.json b/.github/linters/.stylelintrc.json index a04c725..cee0dac 100644 --- a/.github/linters/.stylelintrc.json +++ b/.github/linters/.stylelintrc.json @@ -4,4 +4,4 @@ "max-nesting-depth": 5, "selector-max-compound-selectors": 5 } -} \ No newline at end of file +} diff --git a/Properties/launchSettings.json b/Properties/launchSettings.json index fa48cc0..695da5c 100644 --- a/Properties/launchSettings.json +++ b/Properties/launchSettings.json @@ -1,43 +1,43 @@ -{ - "iisSettings": { - "windowsAuthentication": false, - "anonymousAuthentication": true, - "iisExpress": { - "applicationUrl": "http://localhost:38829", - "sslPort": 44358 - } - }, - "profiles": { - "IIS Express": { - "commandName": "IISExpress", - "launchBrowser": true, - "environmentVariables": { - "ASPNETCORE_ENVIRONMENT": "Development" - } - }, - "UACloudPublisher": { - "commandName": "Project", - "launchBrowser": true, - "environmentVariables": { - "ASPNETCORE_ENVIRONMENT": "Development" - }, - "applicationUrl": "https://localhost:5001;http://localhost:5000" - }, - "Docker": { - "commandName": "Docker", - "launchBrowser": true, - "launchUrl": "{Scheme}://{ServiceHost}:{ServicePort}", - "publishAllPorts": true, - "useSSL": true, - "environmentVariables": { - "ASPNETCORE_ENVIRONMENT": "Development", - "STORAGE_TYPE": "", - "STORAGE_CONTAINER_NAME": "uacloudpublisher", - "STORAGE_CONNECTION_STRING": "DefaultEndpointsProtocol=https;AccountName=[yourstorageaccountname];AccountKey=[key];EndpointSuffix=core.windows.net", - "AZURE_OPENAI_API_ENDPOINT": "https://[yourinstancename].openai.azure.com/", - "AZURE_OPENAI_API_KEY": "", - "AZURE_OPENAI_API_DEPLOYMENT_NAME": "" - } - } - } -} \ No newline at end of file +{ + "iisSettings": { + "windowsAuthentication": false, + "anonymousAuthentication": true, + "iisExpress": { + "applicationUrl": "http://localhost:38829", + "sslPort": 44358 + } + }, + "profiles": { + "IIS Express": { + "commandName": "IISExpress", + "launchBrowser": true, + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Development" + } + }, + "UACloudPublisher": { + "commandName": "Project", + "launchBrowser": true, + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Development" + }, + "applicationUrl": "https://localhost:5001;http://localhost:5000" + }, + "Docker": { + "commandName": "Docker", + "launchBrowser": true, + "launchUrl": "{Scheme}://{ServiceHost}:{ServicePort}", + "publishAllPorts": true, + "useSSL": true, + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Development", + "STORAGE_TYPE": "", + "STORAGE_CONTAINER_NAME": "uacloudpublisher", + "STORAGE_CONNECTION_STRING": "DefaultEndpointsProtocol=https;AccountName=[yourstorageaccountname];AccountKey=[key];EndpointSuffix=core.windows.net", + "AZURE_OPENAI_API_ENDPOINT": "https://[yourinstancename].openai.azure.com/", + "AZURE_OPENAI_API_KEY": "", + "AZURE_OPENAI_API_DEPLOYMENT_NAME": "" + } + } + } +} diff --git a/appsettings.Development.json b/appsettings.Development.json index dba68eb..8983e0f 100644 --- a/appsettings.Development.json +++ b/appsettings.Development.json @@ -1,9 +1,9 @@ { "Logging": { "LogLevel": { - "Default": "Information", - "Microsoft": "Warning", - "Microsoft.Hosting.Lifetime": "Information" + "Default": "Information", + "Microsoft": "Warning", + "Microsoft.Hosting.Lifetime": "Information" } } } diff --git a/appsettings.json b/appsettings.json index 81ff877..d9d9a9b 100644 --- a/appsettings.json +++ b/appsettings.json @@ -1,10 +1,10 @@ -{ - "Logging": { - "LogLevel": { - "Default": "Information", - "Microsoft": "Warning", - "Microsoft.Hosting.Lifetime": "Information" - } - }, - "AllowedHosts": "*" -} +{ + "Logging": { + "LogLevel": { + "Default": "Information", + "Microsoft": "Warning", + "Microsoft.Hosting.Lifetime": "Information" + } + }, + "AllowedHosts": "*" +} diff --git a/libman.json b/libman.json index a09660d..5df8443 100644 --- a/libman.json +++ b/libman.json @@ -1,10 +1,10 @@ -{ - "version": "1.0", - "defaultProvider": "cdnjs", - "libraries": [ - { - "library": "Chart.js@3.7.1", - "destination": "wwwroot/lib/Chart.js/" - } - ] -} \ No newline at end of file +{ + "version": "1.0", + "defaultProvider": "cdnjs", + "libraries": [ + { + "library": "Chart.js@3.7.1", + "destination": "wwwroot/lib/Chart.js/" + } + ] +}