Parsing error: Decorators cannot be used to decorate object literal properties

If the following code is added to the. Eslintrc file, there will be no alarm; If not, restart the service

parserOptions:  {
  ecmaFeatures:{

       legacyDecorators:   true

    }
  },


Read More: