Commit bb6f1b2
feat(linter/vue): implement require-slots-as-functions rule (#22244)
related #11440
upstream: https://eslint.vuejs.org/rules/require-slots-as-functions.html
same detection pattern as `no-deprecated-events-api`. `is_this_alias` is
a local copy of `is_this` from `no_deprecated_events_api.rs` — can
submit a follow-up PR to consolidate if needed.
AI disclosure: implemented with Claude Code, reviewed manually.
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Cameron Clark <cameron.clark@hey.com>1 parent 5fa4774 commit bb6f1b2
8 files changed
Lines changed: 421 additions & 2 deletions
File tree
- apps/oxlint/src-js/package
- crates/oxc_linter/src
- generated
- rules/vue
- snapshots
- npm/oxlint
- tasks/website_linter/src/snapshots
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1307 | 1307 | | |
1308 | 1308 | | |
1309 | 1309 | | |
| 1310 | + | |
1310 | 1311 | | |
1311 | 1312 | | |
1312 | 1313 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
846 | 846 | | |
847 | 847 | | |
848 | 848 | | |
| 849 | + | |
849 | 850 | | |
850 | 851 | | |
851 | 852 | | |
| |||
0 commit comments