In fact, it is very simple, that is, the Eslint code detects that you have added an extra comma. Generally, there is an extra comma at the end.
Some methods to modify the
eslintrc.js file are not recommended personally!
Check it carefully and delete it to solve it. The following is my code solution case for reference only.