Skip to content

Commit 64ab276

Browse files
PreferAppendLeft update/GCI97.json: include data in title and correct typo
Co-authored-by: DataLabGroupe-CreditAgricole <[email protected]>
1 parent 4903b8c commit 64ab276

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

RULES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ Some are applicable for different technologies.
7272
| GCI93 | Return `Task` directly | Consider returning a `Task` directly instead of a single `await` | ||||||||
7373
| GCI94 | Use orElseGet instead of orElse | Parameter of orElse() is evaluated, even when having a non-empty Optional. Supplier method of orElseGet passed as an argument is only executed when an Optional value isn’t present. Therefore, using orElseGet() will save computing time. | [Optimized use of Java Optional Else](https://github.com/green-code-initiative/creedengo-challenge/issues/77) || 🚫 | 🚫 | 🚫 | 🚫 | 🚫 | 🚫 |
7474
| GCI95 | Avoid querying SQL columns that are not used | When a database is queried without an ORM, every column that is queried should be used afterward somewhere in the function. | [cnumr best practices (3rd edition) BP_075](https://github.com/cnumr/best-practices/blob/main/chapters/BP_075_fr.md) | 🚧 |||||||
75-
| GCI97 | Prefer Append Left | If you want to When you want to insert an element at the beginning of a list, it's better to use a deques or a double linkedlist. | |||| 🚀 ||||
75+
| GCI97 | Prefer Append Left | When you want to insert an element at the beginning of a list, it's better to use a deques or a double linkedlist. | |||| 🚀 ||||
7676
| GCI203 | Detect unoptimized file formats | When it is possible, to use svg format image over other image format | | 🚧 | 🚀 | 🚀 || 🚀 | 🚀 | 🚫 |
7777
| GCI404 | Avoid list comprehension in iterations | Use generator comprehension instead of list comprehension in for loop declaration | | 🚫 | 🚫 | 🚫 || 🚫 | 🚫 | 🚫 |
7878
| GCI522 | Sobriety: Brightness Override | To avoid draining the battery, iOS and Android devices adapt the brightness of the screen depending on the environment light. | | 🚫 | 🚫 || 🚫 | 🚫 | 🚫 | 🚫 |

src/main/rules/GCI97/GCI97.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"title": "Prefer AppendLeft Over Insert(0)",
2+
"title": "DATA: Prefer AppendLeft Over Insert(0)",
33
"type": "CODE_SMELL",
44
"status": "ready",
55
"remediation": {

0 commit comments

Comments
 (0)