Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(lint deps): update linting dependencies (#39)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [Roslynator.Analyzers](https://togithub.com/dotnet/roslynator) | `4.10.0` -> `4.12.1` | [![age](https://developer.mend.io/api/mc/badges/age/nuget/Roslynator.Analyzers/4.12.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/nuget/Roslynator.Analyzers/4.12.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/nuget/Roslynator.Analyzers/4.10.0/4.12.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/nuget/Roslynator.Analyzers/4.10.0/4.12.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [SonarAnalyzer.CSharp](https://redirect.sonarsource.com/doc/sonar-visualstudio.html) ([source](https://togithub.com/SonarSource/sonar-dotnet)) | `9.17.0.82934` -> `9.24.0.89429` | [![age](https://developer.mend.io/api/mc/badges/age/nuget/SonarAnalyzer.CSharp/9.24.0.89429?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/nuget/SonarAnalyzer.CSharp/9.24.0.89429?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/nuget/SonarAnalyzer.CSharp/9.17.0.82934/9.24.0.89429?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/nuget/SonarAnalyzer.CSharp/9.17.0.82934/9.24.0.89429?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>dotnet/roslynator (Roslynator.Analyzers)</summary> ### [`v4.12.1`](https://togithub.com/dotnet/roslynator/blob/HEAD/ChangeLog.md#4121---2024-04-15) ##### Changed - \[CLI] Bump Roslyn to 4.9.2 ([PR](https://togithub.com/dotnet/roslynator/pull/1441)) - Convert `Last()` to `[]` ([RCS1246](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1246)) ([PR](https://togithub.com/dotnet/roslynator/pull/1436)) ##### Fixed - Fix analyzer [RCS1077](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1077) ([PR](https://togithub.com/dotnet/roslynator/pull/1428)) - Fix export of `ILanguageService` ([PR](https://togithub.com/dotnet/roslynator/pull/1442)) ### [`v4.12.0`](https://togithub.com/dotnet/roslynator/blob/HEAD/ChangeLog.md#4120---2024-03-19) ##### Added - Add analyzer "Simplify numeric comparison" [RCS1268](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1268) ([PR](https://togithub.com/dotnet/roslynator/pull/1405) by [@​jakubreznak](https://togithub.com/jakubreznak)) ##### Fixed - Fix analyzer [RCS1267](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1267) ([PR](https://togithub.com/dotnet/roslynator/pull/1412)) - Fix "Unknown value 'Default'" exception ([PR](https://togithub.com/dotnet/roslynator/pull/1411)) - Fix name of `UnityEngine.SerializeField` attribute ([PR](https://togithub.com/dotnet/roslynator/pull/1419)) - Fix analyzer [RCS1077](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1077) ([PR](https://togithub.com/dotnet/roslynator/pull/1421)) ### [`v4.11.0`](https://togithub.com/dotnet/roslynator/blob/HEAD/ChangeLog.md#4110---2024-02-19) ##### Added - Add analyzer "Use raw string literal" [RCS1266](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1266) ([PR](https://togithub.com/dotnet/roslynator/pull/1375)) - Add analyzer "Convert 'string.Concat' to interpolated string" [RCS1267](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1267) ([PR](https://togithub.com/dotnet/roslynator/pull/1379)) - Simplify LINQ query [RCS1077](https://josefpihrt.github.io/docs/roslynator/analyzers/1077) ([PR](https://togithub.com/dotnet/roslynator/pull/1384)) - `items.Select(selector).Average()` => `items.Average(selector)` - `items.Select(selector).Sum()` => `items.Sum(selector)` ##### Fixed - Fix analyzer [RCS0049](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS0049) ([PR](https://togithub.com/dotnet/roslynator/pull/1386)) - Fix analyzer [RCS1159](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1159) ([PR](https://togithub.com/dotnet/roslynator/pull/1390)) - Fix analyzer [RCS1019](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1019) ([PR](https://togithub.com/dotnet/roslynator/pull/1402)) - Fix analyzer [RCS1250](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1250) ([PR](https://togithub.com/dotnet/roslynator/pull/1403), [PR](https://togithub.com/dotnet/roslynator/pull/1404)) - Fix code fix for [CS8600](https://josefpihrt.github.io/docs/roslynator/fixes/CS8600) changing the wrong type when casts or `var` are involved ([PR](https://togithub.com/dotnet/roslynator/pull/1393) by [@​jroessel](https://togithub.com/jroessel)) - Fix Roslyn multi-targeting ([PR](https://togithub.com/dotnet/roslynator/pull/1407)) </details> <details> <summary>SonarSource/sonar-dotnet (SonarAnalyzer.CSharp)</summary> ### [`v9.24.0.89429`](https://togithub.com/SonarSource/sonar-dotnet/releases/tag/9.24.0.89429): 9.24 [Compare Source](https://togithub.com/SonarSource/sonar-dotnet/compare/9.23.2.88755...9.24.0.89429) Hey everyone, This release contains one new ASP.NET Rule (S6961) and several general improvements and fixes. Enjoy! ##### Improvements - [9090](https://togithub.com/SonarSource/sonar-dotnet/issues/9090) - \[C#] New rule S6961 for C#: API Controllers should derive from ControllerBase instead of Controller - [8696](https://togithub.com/SonarSource/sonar-dotnet/issues/8696) - Fix coverage aggregation from multiple reports - [9048](https://togithub.com/SonarSource/sonar-dotnet/pull/9048) - Create SonarAnalyzer.CSharp.Styling project - [7774](https://togithub.com/SonarSource/sonar-dotnet/issues/7774) - \[C#, VB.NET] Fix S1144: Nested type constructor accessibility is wrong in the rule message - [8980](https://togithub.com/SonarSource/sonar-dotnet/issues/8980) - Update RSPEC before 9.24 release ##### Bug Fixes - [9113](https://togithub.com/SonarSource/sonar-dotnet/issues/9113) - \[C#, VB.NET] AD0001: ArgumentNullException in SymbolicExecutionRunner - [8977](https://togithub.com/SonarSource/sonar-dotnet/issues/8977) - \[C#] CfgAllPathValidator AreAllSuccessorsValid Stack Overflow on Windows and error MSB6006 in Linux Codespaces ##### False Positive - [9063](https://togithub.com/SonarSource/sonar-dotnet/issues/9063) - \[C#, VB.NET] Fix S2094 FP: Should not raise for messages - [9062](https://togithub.com/SonarSource/sonar-dotnet/issues/9062) - \[C#, VB.NET] Fix S2094 FP: Documentation using the DefaultDocumentation package - [7591](https://togithub.com/SonarSource/sonar-dotnet/issues/7591) - \[C#, VB.NET] Fix S2094 FP: Implicit parameterless constructor widens the scope of the base class constructor - [8163](https://togithub.com/SonarSource/sonar-dotnet/issues/8163) - \[C#, VB.NET] Fix S3878 FP: Jagged arrays ##### False Negative - [6724](https://togithub.com/SonarSource/sonar-dotnet/issues/6724) - \[C#, VB.NET] Fix S1144 FN: Unused private getters and private setters - [6699](https://togithub.com/SonarSource/sonar-dotnet/issues/6699) - \[C#] Fix S1144 FN: Unused local functions ### [`v9.23.2.88755`](https://togithub.com/SonarSource/sonar-dotnet/releases/tag/9.23.2.88755): 9.23.2 [Compare Source](https://togithub.com/SonarSource/sonar-dotnet/compare/9.23.1.88495...9.23.2.88755) Hello, everyone! Today we are doing a bug fix release that also addresses a couple of false positives. We deprecated VB support for S6931 and removed the rule from the "Sonar Way" quality profile for VB. Special thanks to [@​Corniel](https://togithub.com/Corniel) for fixing [#​9019](https://togithub.com/SonarSource/sonar-dotnet/issues/9019)! ##### Bug fix - [9022](https://togithub.com/SonarSource/sonar-dotnet/issues/9022) - S6931 and S6934 raises AD0001 warnings ##### Improvements - [9075](https://togithub.com/SonarSource/sonar-dotnet/issues/9075) - Update RSPEC before 9.23.2 release ##### False Positive - [9011](https://togithub.com/SonarSource/sonar-dotnet/issues/9011) - \[C#] Fix S2094 FP: Primary constructor calling base class constructor - [8905](https://togithub.com/SonarSource/sonar-dotnet/issues/8905) - \[C#, VB.NET] Fix S2259 FP: `PropertyReference` does not learn from the underlying symbol ### [`v9.23.1.88495`](https://togithub.com/SonarSource/sonar-dotnet/releases/tag/9.23.1.88495): 9.23.1 [Compare Source](https://togithub.com/SonarSource/sonar-dotnet/compare/9.23.0.88079...9.23.1.88495) ##### Bug Fixes - [8984](https://togithub.com/SonarSource/sonar-dotnet/pull/8984) - Fix StackOverflow in CfgAllPathValidator.AreAllSuccessorsValid - [8991](https://togithub.com/SonarSource/sonar-dotnet/pull/8991) - \[C#, VB.NET] Fix TypeInitializationException in SymbolStartAnalysisContextWrapper ##### False Positive - [8532](https://togithub.com/SonarSource/sonar-dotnet/issues/8532) - \[C#, VB.NET] Fix S1144 FP: Do not raise on serializable members ### [`v9.23.0.88079`](https://togithub.com/SonarSource/sonar-dotnet/releases/tag/9.23.0.88079): 9.23 [Compare Source](https://togithub.com/SonarSource/sonar-dotnet/compare/9.22.0.87781...9.23.0.88079) Hello everyone! This release comes with two new rules for ASP.NET, false positive fixes, and other improvements. A big thank you to [@​Corniel](https://togithub.com/Corniel) for their external contribution with [#​8898](https://togithub.com/SonarSource/sonar-dotnet/issues/8898)! ##### New Rules - [8872](https://togithub.com/SonarSource/sonar-dotnet/issues/8872) - \[C#] New rule S6934: You should specify the RouteAttribute when an HttpMethodAttribute is specified at an action level - [8870](https://togithub.com/SonarSource/sonar-dotnet/issues/8870) - \[C#, VB.NET] New rule S6931: ASP.NET controller actions should not have a route template starting with "/" ##### False Positives - [8898](https://togithub.com/SonarSource/sonar-dotnet/pull/8898) - \[C#] Fix S3993 FP: Allow abstract attributes not to decorate Attribute usage - [8510](https://togithub.com/SonarSource/sonar-dotnet/issues/8510) - \[C#] Fix S3878 FP: When the input array is a collection expression with the spread operator - [8260](https://togithub.com/SonarSource/sonar-dotnet/issues/8260) - \[C#] Fix S1117 FP: Field/property instances are not accessible from static methods - [7709](https://togithub.com/SonarSource/sonar-dotnet/issues/7709) - \[C#] Fix S2094 FP: Marker interface not detected when using records - [6633](https://togithub.com/SonarSource/sonar-dotnet/issues/6633) - \[C#] Fix S2857 FP: Rule is not checking SQL keywords in const interpolated string ##### Other improvements and fixes - [8935](https://togithub.com/SonarSource/sonar-dotnet/issues/8935) - \[C#] Rule S6602: Improve the logging message when recommending for `Array.Find` - [7999](https://togithub.com/SonarSource/sonar-dotnet/issues/7999) - \[C#] Fix S1125 codefix: Do not add `!` when transforming `x == false`. ### [`v9.22.0.87781`](https://togithub.com/SonarSource/sonar-dotnet/releases/tag/9.22.0.87781): 9.22 [Compare Source](https://togithub.com/SonarSource/sonar-dotnet/compare/9.21.0.86780...9.22.0.87781) ##### New Rules - [8869](https://togithub.com/SonarSource/sonar-dotnet/issues/8869) - \[C#, VB.NET] New rule S6930: Backslash should be avoided in route templates - [8844](https://togithub.com/SonarSource/sonar-dotnet/issues/8844) - \[C#] New rule S3416: Loggers should be named for their enclosing types - [8840](https://togithub.com/SonarSource/sonar-dotnet/issues/8840) - \[C#] New rule S6675: Trace.WriteLineIf should not be used with TraceSwitch levels - [8847](https://togithub.com/SonarSource/sonar-dotnet/issues/8847) - \[C#] New rule S2139: Exceptions should be either logged or rethrown but not both - [8845](https://togithub.com/SonarSource/sonar-dotnet/issues/8845) - \[C#] New rule S6664: Too many logging calls within a code block - [8843](https://togithub.com/SonarSource/sonar-dotnet/issues/8843) - \[C#] New rule S6672: Generic logger injection should match enclosing type - [8842](https://togithub.com/SonarSource/sonar-dotnet/issues/8842) - \[C#] New rule S6669: Logger field names should comply with a naming convention - [8841](https://togithub.com/SonarSource/sonar-dotnet/issues/8841) - \[C#] New rule S6670: Trace.Write and Trace.WriteLine should not be used - [8769](https://togithub.com/SonarSource/sonar-dotnet/issues/8769) - \[C#] New rule S6673: Log message template placeholders should be in the right order - [8846](https://togithub.com/SonarSource/sonar-dotnet/issues/8846) - \[C#] New rule S1312: Logger fields should be `private static readonly` \[Non-SonarWay] ##### False Positive - [7088](https://togithub.com/SonarSource/sonar-dotnet/issues/7088) - \[C#, VB.NET] Fix S2589 FP: When local is assigned in for loop - [8264](https://togithub.com/SonarSource/sonar-dotnet/issues/8264) - \[C#, VB.NET] Fix S2583 FP: Code wrongly considered unreachable - [8891](https://togithub.com/SonarSource/sonar-dotnet/issues/8891) - \[C#] Fix S2629 FP: Allow concatenation of constants ### [`v9.21.0.86780`](https://togithub.com/SonarSource/sonar-dotnet/releases/tag/9.21.0.86780): 9.21 [Compare Source](https://togithub.com/SonarSource/sonar-dotnet/compare/9.20.0.85982...9.21.0.86780) ##### New Rules - [8771](https://togithub.com/SonarSource/sonar-dotnet/issues/8771) - \[C#] New rule S6678: Use PascalCase for named placeholders - [8770](https://togithub.com/SonarSource/sonar-dotnet/issues/8770) - \[C#] New rule S6674: Log message template should be syntactically correct - [8768](https://togithub.com/SonarSource/sonar-dotnet/issues/8768) - \[C#] New rule S2629: Logging templates should be constant - [8767](https://togithub.com/SonarSource/sonar-dotnet/issues/8767) - \[C#] New rule S6677: Named placeholders should be unique - [8766](https://togithub.com/SonarSource/sonar-dotnet/issues/8766) - \[C#] New rule S6667: Exceptions should be passed as an argument when logging in a catch clause - [8765](https://togithub.com/SonarSource/sonar-dotnet/issues/8765) - \[C#] New rule S6668: Logging arguments should be passed to the correct parameter ##### Improvements - The following rules were promoted to the SonarWay profile: S127, S1244, S1696, S1192, S1994, S2701, S2955 ##### Bug Fixes - [8787](https://togithub.com/SonarSource/sonar-dotnet/issues/8787) - \[C#] Fix AD0001: SonarAnalyzer.Rules.CSharp.SymbolicExecutionRunner throws an exception on unknown Numeric Constraints ##### False Positive - [8823](https://togithub.com/SonarSource/sonar-dotnet/pull/8823) - \[C#] Fix S2701 FP: avoid raising for xUnit Assert.True() - [6772](https://togithub.com/SonarSource/sonar-dotnet/issues/6772) - \[C#] Fix S4507 FP: Error raised on .NET 7 although the debug feature is deactivated ### [`v9.20.0.85982`](https://togithub.com/SonarSource/sonar-dotnet/releases/tag/9.20.0.85982): 9.20 [Compare Source](https://togithub.com/SonarSource/sonar-dotnet/compare/9.19.0.84025...9.20.0.85982) Hey everyone! This release brings a vast number of improvements. The main focus lies on improving the capabilities of our Symbolic Execution engine, which results in much more accurate findings. The biggest visible impact is a significant reduction in false positives around loops for the rules S2583 and S2589. And a big thank you to [@​rcatley](https://togithub.com/rcatley) for their external contribution! ##### Bug Fixes - [8642](https://togithub.com/SonarSource/sonar-dotnet/issues/8642) - \[C#] Exception in `SonarAnalyzer.Rules.CSharp.SymbolicExecutionRunner` ##### False Positive - [8678](https://togithub.com/SonarSource/sonar-dotnet/issues/8678) - \[C#, VB.NET] Fix S2583 FP: Variable Updated in Catch Block - [8028](https://togithub.com/SonarSource/sonar-dotnet/issues/8028) - \[C#, VB.NET] Fix S2583 FP: Loop with manually incremented counter - [8449](https://togithub.com/SonarSource/sonar-dotnet/issues/8449) - \[C#, VB.NET] Fix S2589 FP: Change this condition so that it does not always evaluate to 'True' - [8495](https://togithub.com/SonarSource/sonar-dotnet/issues/8495) - \[C#, VB.NET] Fix S2583/S2589 FP: Return inside lock and using causes FP after the block - [8428](https://togithub.com/SonarSource/sonar-dotnet/issues/8428) - \[C#, VB.NET] Fix S2583/S2589 FP: For loop with Array.Length - [8483](https://togithub.com/SonarSource/sonar-dotnet/issues/8483) - \[C#, VB.NET] Fix S4158 FP: Should not report on HashSet.UnionWith for readonly fields. - [8739](https://togithub.com/SonarSource/sonar-dotnet/issues/8739) - \[C#] Fix S4049 FP: Do not raise on methods with generic parameters - [8638](https://togithub.com/SonarSource/sonar-dotnet/issues/8638) - \[C#] Fix S2386 & S3887 FP: should not be raised for FrozenDictionary and FrozenSet - [8611](https://togithub.com/SonarSource/sonar-dotnet/issues/8611) - \[C#] Fix S2372 FP: Add support for method invocations ([@​rcatley](https://togithub.com/rcatley)) - [8567](https://togithub.com/SonarSource/sonar-dotnet/issues/8567) - \[C#] Fix S2325 FP: Primary Constructor Support ##### False Negative - [8486](https://togithub.com/SonarSource/sonar-dotnet/issues/8486) - \[C#] Fix S2589 FN: Tuple binary operations (comparison) ##### Improvements - [8010](https://togithub.com/SonarSource/sonar-dotnet/issues/8010) - \[C#, VB.NET] S2589: Improve message in the case of null propagating operator - [7866](https://togithub.com/SonarSource/sonar-dotnet/issues/7866) - \[C#, VB.NET] SE: Allow collection tracking even when S4158 is not active - [8499](https://togithub.com/SonarSource/sonar-dotnet/issues/8499) - \[C#] SE: Learn number constraints from relational pattern - [8651](https://togithub.com/SonarSource/sonar-dotnet/issues/8651) - Update RSPEC before 9.20 release ### [`v9.19.0.84025`](https://togithub.com/SonarSource/sonar-dotnet/releases/tag/9.19.0.84025): 9.19 [Compare Source](https://togithub.com/SonarSource/sonar-dotnet/compare/9.18.0.83559...9.19.0.84025) Hello, small release to enhance the deprecation warning before SonarQube v.10.4, explicitly notifying users analyzing with **MSBuild 14** that it's **no longer supported** while maintaining the *deprecation status for MSBuild 15*. Furthermore, we've also introduced three improvements to our rules: ##### Improvements - [8609](https://togithub.com/SonarSource/sonar-dotnet/pull/8609) - AnalysisWarningAnalyzerBase: targeted warnings for MSBuild14/15 - [8559](https://togithub.com/SonarSource/sonar-dotnet/issues/8559) - \[C#, VB.NET] Fix S2178 Rule message: Mention extracting right operand if applicable - [6139](https://togithub.com/SonarSource/sonar-dotnet/issues/6139) - \[C#, VB.NET] Detect symbol references for @​ keyword identifiers - [3753](https://togithub.com/SonarSource/sonar-dotnet/issues/3753) - \[C#, VB.NET] S1186: also inspect empty `set` and `init` and empty local functions ### [`v9.18.0.83559`](https://togithub.com/SonarSource/sonar-dotnet/releases/tag/9.18.0.83559): 9.18 [Compare Source](https://togithub.com/SonarSource/sonar-dotnet/compare/9.17.0.82934...9.18.0.83559) Hi everyone! This release focuses on fixing false positives and on general improvements that will be included in the upcoming SonarQube 10.4. ##### False Positive - [7792](https://togithub.com/SonarSource/sonar-dotnet/issues/7792) - \[C#, VB.NET] Fix S1125 FP: Type check with System.Object - [7904](https://togithub.com/SonarSource/sonar-dotnet/issues/7904) - \[C#] Fix S1144 FP: Record method PrintMembers - [6326](https://togithub.com/SonarSource/sonar-dotnet/issues/6326) - \[C#] Fix S2437 FP: None of the operands is 0 - [7620](https://togithub.com/SonarSource/sonar-dotnet/issues/7620) - \[C#] Fix S6618 FP: Projects targeting runtime lower than .NET 6.0 - [8560](https://togithub.com/SonarSource/sonar-dotnet/issues/8560) - \[C#] Fix S4027 FP: BinaryFormatter. Serialization constructors are obsolete and should not be required ##### Improvements - [4993](https://togithub.com/SonarSource/sonar-dotnet/issues/4993) - \[C#] Improve S3925 message to be clear about expected action - [3604](https://togithub.com/SonarSource/sonar-dotnet/issues/3604) - \[C#] Improve S2971 message to use AsEnumerable in LINQ database query - [7960](https://togithub.com/SonarSource/sonar-dotnet/issues/7960) - \[C#, VB.NET] Deprecate rule S3884 - [8554](https://togithub.com/SonarSource/sonar-dotnet/issues/8554) - Update RSPEC before 9.18 release </details> --- ### Configuration 📅 **Schedule**: Branch creation - "after 9pm,before 6am" in timezone Europe/Zurich, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/smartive/cas-fee-adv-mumble-api). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMzUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjMxMy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
- Loading branch information