Skip to content

Conversation

@utarwyn
Copy link
Member

@utarwyn utarwyn commented Jan 22, 2025

This pull request introduces a new JavaScript rule, GCI36, which aims to avoid autoplay for videos and audio content to reduce unnecessary energy consumption and data usage.

Note

This rule already exists for HTML language so it's just a port for JavaScript to integrate PR green-code-initiative/creedengo-javascript#40 into the plugin.

@utarwyn utarwyn added the 🗃️ rule rule improvment or rule development or bug label Jan 22, 2025
@utarwyn utarwyn requested a review from dedece35 January 22, 2025 21:57
@utarwyn utarwyn self-assigned this Jan 22, 2025
@utarwyn utarwyn changed the title Add new JS rule GCI36 Porting GCI36 rule to JavaScript Jan 22, 2025
@sonarqubecloud
Copy link

@utarwyn utarwyn merged commit c0f117a into main Jan 23, 2025
3 checks passed
@utarwyn utarwyn deleted the ec36-js branch January 23, 2025 21:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🗃️ rule rule improvment or rule development or bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants