Skip to content

Commit 407e4d9

Browse files
Sync with atata-repository-template
1 parent 5f54d40 commit 407e4d9

File tree

5 files changed

+41
-12
lines changed

5 files changed

+41
-12
lines changed

.editorconfig

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ dotnet_style_object_initializer = true:suggestion
7979
dotnet_style_collection_initializer = true:suggestion
8080
dotnet_style_explicit_tuple_names = true:suggestion
8181
dotnet_style_null_propagation = true:suggestion
82-
dotnet_style_coalesce_expression = true:suggestion
82+
dotnet_style_coalesce_expression = true:warning
8383
dotnet_style_prefer_is_null_check_over_reference_equality_method = true:silent
8484
dotnet_style_prefer_inferred_tuple_names = true:suggestion
8585
dotnet_style_prefer_inferred_anonymous_type_member_names = true:suggestion
@@ -295,6 +295,8 @@ dotnet_diagnostic.S1109.severity = warning
295295

296296
dotnet_diagnostic.S113.severity = warning
297297

298+
dotnet_diagnostic.S881.severity = warning
299+
298300
dotnet_diagnostic.S1133.severity = none
299301

300302
dotnet_diagnostic.S1135.severity = none
@@ -377,7 +379,8 @@ dotnet_diagnostic.S4070.severity = none
377379

378380
dotnet_diagnostic.S4261.severity = warning
379381

380-
dotnet_diagnostic.S881.severity = warning
382+
# S6562: Always set the "DateTimeKind" when creating new "DateTime" instances
383+
dotnet_diagnostic.S6562.severity = none
381384

382385
###############################
383386
# StyleCop.Analyzers #
@@ -426,6 +429,9 @@ dotnet_diagnostic.SX1101.severity = warning
426429
# IDE0054: Use compound assignment
427430
dotnet_diagnostic.IDE0054.severity = none
428431

432+
# IDE0062: Make local function 'static'
433+
dotnet_diagnostic.IDE0062.severity = warning
434+
429435
# IDE0066: Convert switch statement to expression
430436
dotnet_diagnostic.IDE0066.severity = warning
431437

@@ -438,6 +444,12 @@ dotnet_diagnostic.IDE0083.severity = warning
438444
# IDE0090: Use 'new(...)'
439445
dotnet_diagnostic.IDE0090.severity = warning
440446

447+
# IDE0200: Remove unnecessary lambda expression
448+
dotnet_diagnostic.IDE0200.severity = warning
449+
450+
# IDE0270: Use coalesce expression
451+
dotnet_diagnostic.IDE0270.severity = warning
452+
441453
[*.cs]
442454
# var preferences
443455
csharp_style_var_for_built_in_types = true:silent
@@ -499,7 +511,7 @@ csharp_preserve_single_line_blocks = true
499511
csharp_using_directive_placement = outside_namespace:silent
500512
csharp_prefer_simple_using_statement = true:warning
501513
csharp_style_namespace_declarations = file_scoped:warning
502-
csharp_style_prefer_method_group_conversion = true:silent
514+
csharp_style_prefer_method_group_conversion = true:warning
503515
csharp_style_prefer_top_level_statements = true:silent
504516
csharp_style_expression_bodied_lambdas = true:warning
505517
csharp_style_expression_bodied_local_functions = true:warning

Directory.Build.props

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
<Copyright>© Yevgeniy Shunevych 2023</Copyright>
88
<EnableNETAnalyzers>true</EnableNETAnalyzers>
99
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
10-
<AnalysisLevel>6.0-All</AnalysisLevel>
10+
<AnalysisLevel>6.0-all</AnalysisLevel>
1111
</PropertyGroup>
1212

1313
<ItemGroup Label="Code analysis packages">
14-
<PackageReference Include="SonarAnalyzer.CSharp" Version="9.4.0.72892" PrivateAssets="All" />
14+
<PackageReference Include="SonarAnalyzer.CSharp" Version="9.8.0.76515" PrivateAssets="All" />
1515
<PackageReference Include="StyleCop.Analyzers" Version="1.2.0-beta.507" PrivateAssets="All" />
1616
</ItemGroup>
1717

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
[![NuGet](http://img.shields.io/nuget/v/Atata.Configuration.Json.svg?style=flat)](https://www.nuget.org/packages/Atata.Configuration.Json/)
44
[![GitHub release](https://img.shields.io/github/release/atata-framework/atata-configuration-json.svg)](https://github.com/atata-framework/atata-configuration-json/releases)
55
[![Build status](https://dev.azure.com/atata-framework/atata-configuration-json/_apis/build/status/atata-configuration-json-ci?branchName=main)](https://dev.azure.com/atata-framework/atata-configuration-json/_build/latest?definitionId=33&branchName=main)
6-
[![Gitter](https://badges.gitter.im/atata-framework/atata-configuration-json.svg)](https://gitter.im/atata-framework/atata-configuration-json)
76
[![Slack](https://img.shields.io/badge/join-Slack-green.svg?colorB=4EB898)](https://join.slack.com/t/atata-framework/shared_invite/zt-5j3lyln7-WD1ZtMDzXBhPm0yXLDBzbA)
87
[![Atata docs](https://img.shields.io/badge/docs-Atata_Framework-orange.svg)](https://atata.io)
98
[![Twitter](https://img.shields.io/badge/[email protected])](https://twitter.com/AtataFramework)
@@ -12,7 +11,7 @@ C#/.NET package for [Atata](https://github.com/atata-framework/atata) configurat
1211

1312
*The package targets .NET Standard 2.0, which supports .NET 5+, .NET Framework 4.6.1+ and .NET Core/Standard 2.0+.*
1413

15-
**[What's new in v2.3.0](https://atata.io/blog/2023/06/24/atata.configuration.json-2.3.0-released/)**
14+
**[What's new in v2.4.0](https://atata.io/blog/2023/09/01/atata.configuration.json-2.4.0-released/)**
1615

1716
## Table of Contents
1817

@@ -438,7 +437,7 @@ with help of `{env:VarName}` template insertions.
438437
"type": "nunit", // Supports: "debug", "trace", "console", "nunit", "nlog", "nlog-file", "log4net"
439438
// and custom consumers registered via LogConsumerAliases.Register method.
440439
// Custom ILogConsumer type can also be passed as a full type name, e.g.: "Namespace.Class, MyAssembly".
441-
"minLevel": "Info", // Supports: "trace", "debug", "info", "warn", "error", "fatal".
440+
"minLevel": "info", // Supports: "trace", "debug", "info", "warn", "error", "fatal".
442441
"sectionFinish": true,
443442
"messageNestingLevelIndent": "- ",
444443
"messageStartSectionPrefix": "> ",
@@ -472,6 +471,11 @@ with help of `{env:VarName}` template insertions.
472471
}
473472
},
474473

474+
"browserLogs": { // Configures browser logs monitoring, which isn't enabled by default.
475+
"log": true,
476+
"minLevelOfWarning": "warn" // Supports: "trace", "debug", "info", "warn", "error", "fatal".
477+
}
478+
475479
"eventSubscriptions": [
476480
{
477481
"eventType": "event type", // Optional.

azure-pipelines.release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
variables:
22
buildConfiguration: 'Release'
3+
netSdkVersion: '7.x'
4+
35
trigger: none
46

57
jobs:
@@ -10,12 +12,10 @@ jobs:
1012
steps:
1113
- task: NuGetToolInstaller@1
1214
displayName: Install NuGet tool
13-
inputs:
14-
versionSpec: 6.x
1515
- task: UseDotNet@2
1616
displayName: Install .NET SDK
1717
inputs:
18-
version: 6.x
18+
version: $(netSdkVersion)
1919
- task: DotNetCoreCLI@2
2020
displayName: Pack
2121
inputs:

en-US_User.dic

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@ app
22
Atata
33
autocomplete
44
CDP
5+
checkboxes
56
clearable
7+
CLI
68
clickable
79
combobox
810
concat
@@ -18,13 +20,19 @@ formattable
1820
href
1921
initializable
2022
JSON
23+
Kendo
2124
labelled
2225
localhost
2326
locator
2427
MCE
2528
metadata
2629
Mui
2730
multicast
31+
multiline
32+
mutex
33+
MVC
34+
NG
35+
NPM
2836
nullable
2937
polyline
3038
popup
@@ -33,6 +41,7 @@ screenshot
3341
screenshots
3442
serializer
3543
stringifier
44+
sudo
3645
Summernote
3746
sut
3847
SVG
@@ -42,8 +51,12 @@ timestamp
4251
uncheck
4352
unconfigured
4453
unescaped
54+
uninstall
55+
uninstalls
4556
unsubscribe
4657
username
4758
UTC
4859
utils
49-
viewport
60+
validator
61+
viewport
62+
Vue

0 commit comments

Comments
 (0)