-
-
Notifications
You must be signed in to change notification settings - Fork 246
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Override npm-package-json-lint flavors #2173
Override npm-package-json-lint flavors #2173
Conversation
…b.com/bdovaz/megalinter into feature/npm-package-json-lint-flavors
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great :)
I was thinking https://github.com/dotnet/roslyn-analyzers & https://github.com/DotNetAnalyzers/StyleCopAnalyzers for example ^^ |
@nvuillam But as far as I know these analyzers (the most currently used is Microsoft.CodeAnalysis.NetAnalyzers) are not a cli tool (Installed with dotnet tool install) but are included with the SDK directly (.NET 5+) when compiling the project or you install it as a NuGet package in each project. https://www.nuget.org/packages/dotnet-format vs https://www.nuget.org/packages/Microsoft.CodeAnalysis.NetAnalyzers |
they must have CLI version :) ( dotnet-format is already in MegaLinter ^^ ) |
If you do decide to take this on, I recommend considering CSharpier, which is far faster than dotnet-format and automates considerably more formatting. It is inspired by Prettier, and we have been happy with the output for quite a while. It's available as a NuGet package and dotnet tool. |
#2150 (comment)
@nvuillam I have added dotnet to the suggested ones because in our case we develop with Unity (videogame engine in which we program in C#) and since a few years ago it has a package system based on npm.
Context:
https://docs.unity3d.com/Manual/CustomPackages.html
https://docs.unity3d.com/Manual/cus-layout.html
https://docs.unity3d.com/Manual/pack-safe.html