ZILtoid1991@lemmy.world to Programmer Humor@programming.dev · 1 day agoAll Borrow Checkers Are Bastards (ABCAB - 12312)lemmy.worldimagemessage-square20linkfedilinkarrow-up1162arrow-down17
arrow-up1155arrow-down1imageAll Borrow Checkers Are Bastards (ABCAB - 12312)lemmy.worldZILtoid1991@lemmy.world to Programmer Humor@programming.dev · 1 day agomessage-square20linkfedilink
minus-squareZarobi@aussie.zonelinkfedilinkEnglisharrow-up0·10 hours 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·9 hours 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·9 hours 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