Commit a735eb0
feat(linter/vue): implement valid-next-tick rule (#22531)
related #11440
upstream: https://eslint.vuejs.org/rules/valid-next-tick.html
Vue 2 forms (`new Vue({...})` and `Vue.extend({...})`) are also detected
via a local helper in this rule. The shared
`utils::is_vue_component_options_object` does not cover them yet — can
submit a follow-up PR to consolidate.
AI disclosure: implemented with Claude Code, reviewed manually.
---------
Co-authored-by: Cameron Clark <cameron.clark@hey.com>1 parent 6dc615d commit a735eb0
8 files changed
Lines changed: 984 additions & 0 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 | |
|---|---|---|---|
| |||
1314 | 1314 | | |
1315 | 1315 | | |
1316 | 1316 | | |
| 1317 | + | |
1317 | 1318 | | |
1318 | 1319 | | |
1319 | 1320 | | |
| |||
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 | |
|---|---|---|---|
| |||
853 | 853 | | |
854 | 854 | | |
855 | 855 | | |
| 856 | + | |
856 | 857 | | |
857 | 858 | | |
858 | 859 | | |
| |||
0 commit comments