Resolve vue/no-unused-vars lint warnings
Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com>
Change-Id: I25ca1e451af5e793cd864d484572049e04cf09bc
diff --git a/.eslintrc.js b/.eslintrc.js
index 3901f22..fe716f0 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -15,7 +15,6 @@
],
'vue/component-name-in-template-casing': ['error', 'kebab-case'],
'vue/custom-event-name-casing': ['warn'],
- 'vue/no-unused-vars': ['warn'],
},
parserOptions: {
parser: 'babel-eslint',
diff --git a/src/views/AccessControl/LocalUserManagement/ModalSettings.vue b/src/views/AccessControl/LocalUserManagement/ModalSettings.vue
index 89a1ebc..bf274e5 100644
--- a/src/views/AccessControl/LocalUserManagement/ModalSettings.vue
+++ b/src/views/AccessControl/LocalUserManagement/ModalSettings.vue
@@ -104,7 +104,7 @@
</b-row>
</b-container>
</b-form>
- <template #modal-footer="{ ok, cancel }">
+ <template #modal-footer="{ cancel }">
<b-button
variant="secondary"
data-test-id="localUserManagement-button-cancel"
diff --git a/src/views/AccessControl/LocalUserManagement/ModalUser.vue b/src/views/AccessControl/LocalUserManagement/ModalUser.vue
index 7ef9260..202ae8e 100644
--- a/src/views/AccessControl/LocalUserManagement/ModalUser.vue
+++ b/src/views/AccessControl/LocalUserManagement/ModalUser.vue
@@ -205,7 +205,7 @@
</b-row>
</b-container>
</b-form>
- <template #modal-footer="{ ok, cancel }">
+ <template #modal-footer="{ cancel }">
<b-button
variant="secondary"
data-test-id="localUserManagement-button-cancel"