Rules
Every rule from ESLint, Oxlint and Biome. Pick a rule to see its example. Reach is the weekly npm downloads of the presets that enable a rule; trend is its change over the last quarter.
Every rule from ESLint, Oxlint and Biome. Pick a rule to see its example. Reach is the weekly npm downloads of the presets that enable a rule; trend is its change over the last quarter.
<script>
import { nextTick } from 'vue'
export default {
async mounted() {
nextTick() // missing await or callback
this.$nextTick // not invoked
this.$nextTick(a, b) // too many args
await this.$nextTick(callback) // both await and callback
}
}
</script><script>
import { nextTick } from 'vue'
export default {
async mounted() {
await nextTick()
this.$nextTick(callback)
this.$nextTick().then(callback)
}
}
</script>Popular · 1 of 50
<script>
import { nextTick } from 'vue'
export default {
async mounted() {
nextTick() // missing await or callback
this.$nextTick // not invoked
this.$nextTick(a, b) // too many args
await this.$nextTick(callback) // both await and callback
}
}
</script><script>
import { nextTick } from 'vue'
export default {
async mounted() {
await nextTick()
this.$nextTick(callback)
this.$nextTick().then(callback)
}
}
</script>