We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Not sure whether it's the right place to report it, I tried below keywords without luck. // NOSONAR // eslint-disable-line no-eval
The text was updated successfully, but these errors were encountered:
@hanjo2046 Did you ever find a solution for this one?
Sorry, something went wrong.
Hi @oscarhermoso , unfortunately no
Only way I could get it working was through the System.Diagnostics.CodeAnalysis attribute SuppressMessage
System.Diagnostics.CodeAnalysis
SuppressMessage
eg.
// ... using System.Diagnostics.CodeAnalysis; [TestFixture] public class IPAddressTests [Test] [SuppressMessage("SonarLint", "S1313", Justification = "nonsensitive IP, just a test")] public void IsValidIPAddress_ExternalIP_ReturnTrue() { var ip = "180.151.80.19" // <-- this previously complained var result = IsValidIPAddress(ip); Assert.IsTrue(result); } }
No branches or pull requests
Not sure whether it's the right place to report it, I tried below keywords without luck.
// NOSONAR
// eslint-disable-line no-eval
The text was updated successfully, but these errors were encountered: