[Vuejs]-Eslint vee validate no-unused-vars

1👍

Turns out it was quite easy, but I’m still unsure if this is the best way – if someone has a better answer, please post!

/* eslint-disable no-unused-vars */
import { required, max } from 'vee-validate/dist/rules'
/* eslint-enable no-unused-vars */

UPDATE
I think the official way is to extend each rule you’re using:

extend('required', required)
extend('max', max)
👤Damian

Leave a comment