Question:

Sometimes vscode saves to automatically complete the end of some code, but this will cause an error in eslint strict mode!

Solution:

Add ‘trailingComma’ : ‘None’ to setting.json

(Similarly, add/remove semicolons/single quotes/double quotes can be set here)

CTRL + Shift + P in VScode — search for ‘user Settings’ — search for’ settings.json ‘– click on’ Edit in settings.json ‘– add to it (as shown)