decaporg / one-click-hugo-cms

Hugo template with Decap CMS
https://master-template-one-click-hugo-cms.netlify.app
MIT License
499 stars 300 forks source link

fix lint #772

Closed tanyabouman closed 1 year ago

tanyabouman commented 1 year ago

- Summary

Linting fails with an error.

Error: Failed to load parser 'babel-eslint' declared in '.eslintrc.yml': Cannot find module 'babel-eslint'

Solution:

- Test plan

Run yarn lint. Linting succeeds.

- Description for the changelog

fix lint: switch from babel-eslint to @babel/eslint-parser, add react plugin, and fix errors