You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -83,6 +83,7 @@ Some are applicable for different technologies.
83
83
|| Resize images browser-side | Do not resize images using the HEIGHT and WIDTH attributes of the HTML code. This approach requires transferring these images to their original size, wasting bandwidth and CPU cycles. |[cnumr best practices (3rd edition) BP_034](https://github.com/cnumr/best-practices/blob/main/chapters/BP_034_fr.md)| 🚫 | 🚫 | 🚧 | 🚫 | 🚫 | 🚫 | 🚀 |
84
84
|| Modify the DOM when traversing it | Modifying the DOM (Document Object Model) as you traverse it can lead to situations where the loop becomes very resource-intensive, especially CPU cycles. |[cnumr best practices (3rd edition) BP_041](https://github.com/cnumr/best-practices/blob/main/chapters/BP_041_fr.md)| 🚫 | 🚫 | 🚧 | 🚫 | 🚫 | 🚫 | 🚫 |
85
85
|| Edit DOM elements to make it invisible | When an element of the Document Object Model (DOM) needs to be modified by several properties, each change in style or content will generate a repaint or reflow. |[cnumr best practices (3rd edition) BP_042](https://github.com/cnumr/best-practices/blob/main/chapters/BP_042_fr.md)| 🚫 | 🚫 | 🚀 | 🚫 | 🚫 | 🚫 | 🚫 |
86
+
| GCI1433 | Use native Intl.NumberFormat to format numbers | There's no need to use a library to display formatted numbers in a recent browser. Use Intl.NumberFormat for that use case. || 🚫 | 🚫 | 🚧 | 🚫 | 🚫 | 🚫 | 🚫 |
86
87
87
88
## Rules to be reworked / measured / clarified
88
89
@@ -109,7 +110,6 @@ will be completely deleted in next releases and moved to bottom deleted rules ar
| EC34 | Java / PHP | Using try...catch...finally calls | Implementation is too simple (only detection of presence of "try" statement) AND replaced by `GCI35` rule | Github discussion with measures : [general/java](https://github.com/green-code-initiative/creedengo-rules-specifications/pull/128) / [php](https://github.com/green-code-initiative/creedengo-php/pull/10)|
111
112
112
-
113
113
## Refused / Deleted rules
114
114
115
115
This table lists rules proposed by the community but refused or/and deleted in creedengo plugins with the justification.
0 commit comments