refactor(editor): Improve linting for component and prop names (no-changelog) (#8169)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2023-12-28 09:49:58 +01:00
committed by GitHub
parent 639afcd7a5
commit 68cff4c59e
304 changed files with 3428 additions and 3516 deletions

View File

@@ -20,13 +20,7 @@ import type { PropType } from 'vue';
import { defineComponent } from 'vue';
export default defineComponent({
name: 'variable-table',
data() {
return {
observer: null as null | MutationObserver,
values: {} as Record<string, string>,
};
},
name: 'VariableTable',
props: {
variables: {
type: Array as PropType<string[]>,
@@ -37,6 +31,12 @@ export default defineComponent({
default: '',
},
},
data() {
return {
observer: null as null | MutationObserver,
values: {} as Record<string, string>,
};
},
created() {
const setValues = () => {
this.variables.forEach((variable) => {