Compare commits

...

2 Commits

Author SHA1 Message Date
yassin-kammoun-sonarsource
6f6d0490cb Update RSPEC 2025-03-26 16:31:24 +01:00
yassin-kammoun-sonarsource
a6ad91c923 Add rust to rule S2479 2025-03-26 15:23:19 +00:00
2 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,7 @@
{
"title": "Invisible Unicode characters should not be used",
"tags": [
"pitfall",
"clippy"
]
}

View File

@ -0,0 +1,8 @@
== Why is this an issue?
String literals containing invisible Unicode characters can lead to code that is difficult to read, debug, and maintain. These characters are not visually apparent, which can cause confusion for developers trying to understand the code. Ensuring that string literals are free of invisible characters improves code clarity and reduces the risk of unintended behavior.
== Resources
=== Documentation
* Clippy Lints - https://rust-lang.github.io/rust-clippy/master/index.html#invisible_characters