-
Notifications
You must be signed in to change notification settings - Fork 0
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
Analyzers integration test1 via custom msbuild target #6
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
module Fats.AnalyzersDemo | ||
|
||
let f x y = x + y | ||
|
||
let g x = f x | ||
Check warning Code scanning / Ionide.Analyzers.Cli Warns when partial application is being used. Warning
Partial application should not be used.
|
||
|
||
let h (s: string) = s.StartsWith("foo") | ||
Check warning Code scanning / Ionide.Analyzers.Cli Verifies the correct usage of System.String.StartsWith Warning
The usage of String.StartsWith with a single string argument is discouraged. Signal your intention explicitly by calling an overload.
Check warning Code scanning / Ionide.Analyzers.Cli Verifies the correct usage of System.String.StartsWith Warning
The usage of String.StartsWith with a single string argument is discouraged. Signal your intention explicitly by calling an overload.
|
Check warning
Code scanning / Ionide.Analyzers.Cli
Warns when partial application is being used. Warning