Unexpected space before function parentheses error reporting solution
Unexpected space before function parentheses
this error is the configuration in .eslintrc.js file. Add code to the rules in this file:
"space-before-function-paren": 0
Or the attribute space-before-function-paren already exists in the file. Visit the eslint document
to view the parameters and change them according to the document.