Enable multi-word Vue component names with explicit naming
Co-Authored-By: Codex <codex@openai.com>
This commit is contained in:
@@ -78,7 +78,7 @@ export default [
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
rules: {
|
rules: {
|
||||||
"vue/multi-word-component-names": "off",
|
"vue/multi-word-component-names": "error",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
...pluginVue.configs["flat/essential"],
|
...pluginVue.configs["flat/essential"],
|
||||||
@@ -116,7 +116,7 @@ export default [
|
|||||||
{
|
{
|
||||||
files: ["src/**/*.vue", "src/views/**/*.vue", "src/components/**/*.vue"],
|
files: ["src/**/*.vue", "src/views/**/*.vue", "src/components/**/*.vue"],
|
||||||
rules: {
|
rules: {
|
||||||
"vue/multi-word-component-names": "off",
|
"vue/multi-word-component-names": "error",
|
||||||
"vue/no-side-effects-in-computed-properties": "error",
|
"vue/no-side-effects-in-computed-properties": "error",
|
||||||
"vue/return-in-computed-property": "error",
|
"vue/return-in-computed-property": "error",
|
||||||
"vue/no-parsing-error": "error",
|
"vue/no-parsing-error": "error",
|
||||||
|
|||||||
@@ -13,6 +13,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
|
defineOptions({ name: "StatusBadgeComponent" });
|
||||||
// The Lucia project.
|
// The Lucia project.
|
||||||
// Copyright 2024-2026 DSP, inc. All rights reserved.
|
// Copyright 2024-2026 DSP, inc. All rights reserved.
|
||||||
// Authors:
|
// Authors:
|
||||||
|
|||||||
@@ -14,6 +14,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
|
defineOptions({ name: "ActionButtonComponent" });
|
||||||
// The Lucia project.
|
// The Lucia project.
|
||||||
// Copyright 2024-2026 DSP, inc. All rights reserved.
|
// Copyright 2024-2026 DSP, inc. All rights reserved.
|
||||||
// Authors:
|
// Authors:
|
||||||
|
|||||||
@@ -307,6 +307,7 @@
|
|||||||
</section>
|
</section>
|
||||||
</template>
|
</template>
|
||||||
<script setup>
|
<script setup>
|
||||||
|
defineOptions({ name: "AttributesFilterComponent" });
|
||||||
// The Lucia project.
|
// The Lucia project.
|
||||||
// Copyright 2023-2026 DSP, inc. All rights reserved.
|
// Copyright 2023-2026 DSP, inc. All rights reserved.
|
||||||
// Authors:
|
// Authors:
|
||||||
|
|||||||
@@ -73,6 +73,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
|
defineOptions({ name: "FunnelFilterComponent" });
|
||||||
// The Lucia project.
|
// The Lucia project.
|
||||||
// Copyright 2023-2026 DSP, inc. All rights reserved.
|
// Copyright 2023-2026 DSP, inc. All rights reserved.
|
||||||
// Authors:
|
// Authors:
|
||||||
|
|||||||
@@ -63,6 +63,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script setup>
|
<script setup>
|
||||||
|
defineOptions({ name: "TimeframesFilterComponent" });
|
||||||
// The Lucia project.
|
// The Lucia project.
|
||||||
// Copyright 2023-2026 DSP, inc. All rights reserved.
|
// Copyright 2023-2026 DSP, inc. All rights reserved.
|
||||||
// Authors:
|
// Authors:
|
||||||
|
|||||||
@@ -121,6 +121,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
|
defineOptions({ name: "TraceFilterComponent" });
|
||||||
// The Lucia project.
|
// The Lucia project.
|
||||||
// Copyright 2023-2026 DSP, inc. All rights reserved.
|
// Copyright 2023-2026 DSP, inc. All rights reserved.
|
||||||
// Authors:
|
// Authors:
|
||||||
|
|||||||
@@ -36,6 +36,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
|
defineOptions({ name: "AppHeaderComponent" });
|
||||||
// The Lucia project.
|
// The Lucia project.
|
||||||
// Copyright 2023-2026 DSP, inc. All rights reserved.
|
// Copyright 2023-2026 DSP, inc. All rights reserved.
|
||||||
// Authors:
|
// Authors:
|
||||||
|
|||||||
@@ -9,3 +9,7 @@
|
|||||||
<span class="loader block"></span>
|
<span class="loader block"></span>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
<script setup>
|
||||||
|
defineOptions({ name: "LoadingOverlayComponent" });
|
||||||
|
</script>
|
||||||
|
|||||||
@@ -79,6 +79,7 @@
|
|||||||
</nav>
|
</nav>
|
||||||
</template>
|
</template>
|
||||||
<script setup>
|
<script setup>
|
||||||
|
defineOptions({ name: "AppNavbarComponent" });
|
||||||
// The Lucia project.
|
// The Lucia project.
|
||||||
// Copyright 2023-2026 DSP, inc. All rights reserved.
|
// Copyright 2023-2026 DSP, inc. All rights reserved.
|
||||||
// Authors:
|
// Authors:
|
||||||
|
|||||||
@@ -24,6 +24,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
|
defineOptions({ name: "ActivitySearchComponent" });
|
||||||
// The Lucia project.
|
// The Lucia project.
|
||||||
// Copyright 2023-2026 DSP, inc. All rights reserved.
|
// Copyright 2023-2026 DSP, inc. All rights reserved.
|
||||||
// Authors:
|
// Authors:
|
||||||
|
|||||||
@@ -50,6 +50,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
|
defineOptions({ name: "DurationInputComponent" });
|
||||||
// The Lucia project.
|
// The Lucia project.
|
||||||
// Copyright 2023-2026 DSP, inc. All rights reserved.
|
// Copyright 2023-2026 DSP, inc. All rights reserved.
|
||||||
// Authors:
|
// Authors:
|
||||||
|
|||||||
@@ -262,6 +262,7 @@
|
|||||||
</main>
|
</main>
|
||||||
</template>
|
</template>
|
||||||
<script setup>
|
<script setup>
|
||||||
|
defineOptions({ name: "CompareDashboardPage" });
|
||||||
// The Lucia project.
|
// The Lucia project.
|
||||||
// Copyright 2024-2026 DSP, inc. All rights reserved.
|
// Copyright 2024-2026 DSP, inc. All rights reserved.
|
||||||
// Authors:
|
// Authors:
|
||||||
|
|||||||
@@ -22,6 +22,7 @@
|
|||||||
import { useConformanceStore as useConformanceStoreInGuard } from "@/stores/conformance";
|
import { useConformanceStore as useConformanceStoreInGuard } from "@/stores/conformance";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
name: "DiscoverConformancePage",
|
||||||
async beforeRouteEnter(to, from, next) {
|
async beforeRouteEnter(to, from, next) {
|
||||||
const isCheckPage = to.name.includes("Check");
|
const isCheckPage = to.name.includes("Check");
|
||||||
if (isCheckPage) {
|
if (isCheckPage) {
|
||||||
|
|||||||
@@ -123,6 +123,7 @@
|
|||||||
import { useConformanceStore } from "@/stores/conformance";
|
import { useConformanceStore } from "@/stores/conformance";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
name: "DiscoverMapPage",
|
||||||
async beforeRouteEnter(to, from, next) {
|
async beforeRouteEnter(to, from, next) {
|
||||||
const isCheckPage = to.name.includes("Check");
|
const isCheckPage = to.name.includes("Check");
|
||||||
|
|
||||||
|
|||||||
@@ -249,6 +249,7 @@
|
|||||||
import { useConformanceStore } from "@/stores/conformance";
|
import { useConformanceStore } from "@/stores/conformance";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
name: "DiscoverPerformancePage",
|
||||||
async beforeRouteEnter(to, from, next) {
|
async beforeRouteEnter(to, from, next) {
|
||||||
const isCheckPage = to.name.includes("Check");
|
const isCheckPage = to.name.includes("Check");
|
||||||
|
|
||||||
|
|||||||
@@ -455,6 +455,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script setup>
|
<script setup>
|
||||||
|
defineOptions({ name: "FilesPage" });
|
||||||
// The Lucia project.
|
// The Lucia project.
|
||||||
// Copyright 2024-2026 DSP, inc. All rights reserved.
|
// Copyright 2024-2026 DSP, inc. All rights reserved.
|
||||||
// Authors:
|
// Authors:
|
||||||
|
|||||||
@@ -79,6 +79,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
|
defineOptions({ name: "LoginPage" });
|
||||||
// The Lucia project.
|
// The Lucia project.
|
||||||
// Copyright 2024-2026 DSP, inc. All rights reserved.
|
// Copyright 2024-2026 DSP, inc. All rights reserved.
|
||||||
// Authors:
|
// Authors:
|
||||||
|
|||||||
@@ -11,6 +11,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
|
defineOptions({ name: "MemberAreaPage" });
|
||||||
// The Lucia project.
|
// The Lucia project.
|
||||||
// Copyright 2023-2026 DSP, inc. All rights reserved.
|
// Copyright 2023-2026 DSP, inc. All rights reserved.
|
||||||
// Authors:
|
// Authors:
|
||||||
|
|||||||
@@ -155,6 +155,7 @@
|
|||||||
import { useFilesStore } from "@/stores/files";
|
import { useFilesStore } from "@/stores/files";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
name: "UploadPage",
|
||||||
beforeRouteEnter(to, from, next) {
|
beforeRouteEnter(to, from, next) {
|
||||||
// An uploadID is required to enter this page
|
// An uploadID is required to enter this page
|
||||||
next((vm) => {
|
next((vm) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user