From 7e294fa91d8ba9bf895a4629b06fd276aafe8401 Mon Sep 17 00:00:00 2001 From: Johan Gunawan Date: Fri, 6 Jan 2023 14:47:07 -0500 Subject: [PATCH] Use camelCase Use camelCase for component tag and when passing props to match the style in Concept Funnel. --- .eslintrc.js | 4 +- .../vin-location-information.vue | 8 +-- .../vehicle-not-found-alert.vue | 10 +-- .../vehicle-not-matched-alert.vue | 14 ++-- .../vin-lookup-alerts/vin-lookup-alerts.vue | 12 ++-- src/layouts/vin-lookup/vin-lookup.vue | 66 +++++++++---------- .../vin-lookup/vin-question/vin-question.vue | 18 ++--- 7 files changed, 67 insertions(+), 65 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index 4e42a29f..aa0da332 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -6,7 +6,9 @@ module.exports = { rules: { 'linebreak-style': 'off', 'vue/component-definition-name-casing': ['warn', 'kebab-case'], - 'vue/require-default-prop': 'off' + 'vue/require-default-prop': 'off', + 'vue/attribute-hyphenation': ['warn', 'never'], + 'vue/v-on-event-hyphenation': ['warn', 'never'] }, settings: { 'import/resolver': { diff --git a/src/layouts/vin-lookup/vin-location-information/vin-location-information.vue b/src/layouts/vin-lookup/vin-location-information/vin-location-information.vue index 3b1be5ad..93d78c50 100644 --- a/src/layouts/vin-lookup/vin-location-information/vin-location-information.vue +++ b/src/layouts/vin-lookup/vin-location-information/vin-location-information.vue @@ -5,8 +5,8 @@ :class="[isVinLocationDetailVisible ? 'active' : '']" @click="handleClickToggle" > - @@ -31,12 +31,12 @@ diff --git a/src/layouts/vin-lookup/vin-lookup-alerts/vehicle-not-matched-alert/vehicle-not-matched-alert.vue b/src/layouts/vin-lookup/vin-lookup-alerts/vehicle-not-matched-alert/vehicle-not-matched-alert.vue index 631a1bc6..7a10a8e9 100644 --- a/src/layouts/vin-lookup/vin-lookup-alerts/vehicle-not-matched-alert/vehicle-not-matched-alert.vue +++ b/src/layouts/vin-lookup/vin-lookup-alerts/vehicle-not-matched-alert/vehicle-not-matched-alert.vue @@ -1,20 +1,20 @@