aladdin-add / eslint-plugin

autofix some errors reported by eslint rules.
107 stars 10 forks source link

eslint-plugin-autofix bug: missing comma #86

Open Niefee opened 1 year ago

Niefee commented 1 year ago

i use the plugin with vue3

watch(
    () => props.visible,
    (newVal, oldVal) => {
        // code
    },
    { deep: true },
);

Repair results

watch(
    () => props.visible    // error: missing comma
    () => {
        // code
    },
    { deep: true },
);

The quotation mark disappears after the first parameter of the function call

xiaohuoni commented 5 months ago

+1

adametsderschopfer commented 1 month ago

+1

nano2nd commented 3 days ago

+1