diff --git a/app/components/ConfigItem.vue b/app/components/ConfigItem.vue index 3c671a4..ce52c23 100644 --- a/app/components/ConfigItem.vue +++ b/app/components/ConfigItem.vue @@ -18,6 +18,19 @@ const emit = defineEmits<{ badgeClick: [string] }>() +/** + * Fields that are considered metadata and not part of the config object. + * @type {Set} + * @see {@link https://github.com/eslint/rewrite/blob/e2a7ec809db20e638abbad250d105ddbde88a8d5/packages/config-array/src/config-array.js#L72-L76} + */ +const META_FIELDS = new Set(['name']) + +/** + * Fields that are added to configs internally by config inspector. + * @type {Set} + */ +const CONFIG_INSPECTOR_FIELDS = new Set(['index']) + const open = defineModel('open', { default: true, }) @@ -147,7 +160,7 @@ const extraConfigs = computed(() => {
-
+
Ignore files globally