'prettier/prettier: error Replace `this.form.sendingEmployeeId=·''` with `;(this.form.sendingEmployeeId·=·'')`eslint(prettier/prettier)

I'm getting this error with prettier in my Vue project. I have selected the eslint/prettier configuration while I created the project. Please have a look at my error.

Replace `this.form.sendingEmployeeId=·''` with `;(this.form.sendingEmployeeId·=·'')`eslint(prettier/prettier)

When I fix this problem as per the prettier suggestion it changed to this

;(this.form.sendingEmployeeId = ''),
            (this.form.submissionLeader = ''),
            (this.form.sendingAccount = ''),

Can anyone help me to understand what is the problem?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source