Я использую метод Vue Watch следующим образом с immediate: true
watch: {
currentQuestion() {
// console.log("Watch currentQuestion", "Start");
immediate: true;
this.selectedIndex = null;
this.shuffleAnswers();
}
}
При запуске ESLint выдает ошибку: error 'immediate:' is defined but never used no-unused-labels
Я также попытался изменить Pkg JSON, но безуспешно
"eslintConfig": {
"root": true,
"env": {
"node": true
},
"extends": [
"plugin:vue/essential",
"eslint:recommended",
"@vue/prettier"
],
"parserOptions": {
"parser": "babel-eslint"
},
"rules": {
"no-unused-vars": "off"
}
}
Какую конфигурацию мне нужно изменить в ESLINT?
Заранее спасибо