ZILtoid1991@lemmy.world to Programmer Humor@programming.dev · 3 days agoAll Borrow Checkers Are Bastards (ABCAB - 12312)lemmy.worldimagemessage-square22linkfedilinkarrow-up1162arrow-down17
arrow-up1155arrow-down1imageAll Borrow Checkers Are Bastards (ABCAB - 12312)lemmy.worldZILtoid1991@lemmy.world to Programmer Humor@programming.dev · 3 days agomessage-square22linkfedilink
minus-squareZarobi@aussie.zonelinkfedilinkEnglisharrow-up0·2 days agoIt was an editorconfig file thing, but navigating the docs on mobile phone is horrendous so I can’t easily find it https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/code-style-rule-options There’s much more than is listed on that page
minus-squareFooBarrington@lemmy.worldlinkfedilinkarrow-up2·2 days agoThe editorconfig rules you’re referencing can turn code analyzer warnings into errors, but you still need a code analyzer to actually trigger the error.
minus-squareZarobi@aussie.zonelinkfedilinkEnglisharrow-up0·2 days agoYeah I remember that project used Visual Studio on Windows. I’m not sure if it works outside of that environment
It was an editorconfig file thing, but navigating the docs on mobile phone is horrendous so I can’t easily find it
https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/code-style-rule-options
There’s much more than is listed on that page
The editorconfig rules you’re referencing can turn code analyzer warnings into errors, but you still need a code analyzer to actually trigger the error.
Yeah I remember that project used Visual Studio on Windows. I’m not sure if it works outside of that environment