vscode error Unexpected trailing comma comma-dangle

created at 12-22-2021 views: 1

problem

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.

example

example

Please log in to leave a comment.