Skip to content

Add Vue support to 5 existing rules and enhance documentation#115

Open
neptia wants to merge 2 commits into
green-code-initiative:mainfrom
neptia:VUE-JS-RULES
Open

Add Vue support to 5 existing rules and enhance documentation#115
neptia wants to merge 2 commits into
green-code-initiative:mainfrom
neptia:VUE-JS-RULES

Conversation

@neptia
Copy link
Copy Markdown

@neptia neptia commented May 19, 2026

MODIFICATION OF EXISTING RULES

Added Vue SFC support for JSX‑based rules using Vue template AST visitors (vue-eslint-parser).
Updated RuleTester unit tests with Vue template cases for modified rules.
Added Vue integration examples in the test project and verified lint warnings on .vue files.
Covered rules: avoid-autoplay, no-empty-image-src-attribute, prefer-lighter-formats-for-image-files, avoid-css-animations, prefer-shorthand-css-notations.

Copy link
Copy Markdown
Contributor

@MP-Aubay MP-Aubay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should also update CHANGELOG.md

Comment thread eslint-plugin/docs/rules/avoid-autoplay.md
Comment thread eslint-plugin/docs/rules/avoid-autoplay.md
Comment thread eslint-plugin/lib/rules/no-empty-image-src-attribute.js
Comment thread test-project/src/vue/avoid-autoplay.vue
Comment thread test-project/package.json
@MP-Aubay MP-Aubay moved this from Backlog to In Progress in Hackathon kanban - JS/TS May 20, 2026
@utarwyn
Copy link
Copy Markdown
Member

utarwyn commented May 30, 2026

Hello @neptia 👋 Thank you for the contribution!
Did you push the requested changes? I see you resolved them but no commit was added to the PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

Explore the integration of Vue.js rules

3 participants