Code style issues found in the above file(s). Forgot to run Prettier?
npx prettier –write . This command overwrites the code and makes it beautiful.
npx prettier –write . This command overwrites the code and makes it beautiful.
Install @babel/preset-react in dev dependencies. Add this in .eslintrc file … “parser”: “@babel/eslint-parser”, “parserOptions”: { … “babelOptions”: { “presets”: [“@babel/preset-react”] }, } … Source: https://ffan0811.medium.com/error-debugging-this-experimental-syntax-requires-enabling-one-of-the-following-parser-plugin-s-22946599a0a4
I think you need to install eslint-config-prettier see here
Try setting the “endOfLine”:”auto” in your .prettierrc (or .prettierrc.json) file (inside the object) Or set ‘prettier/prettier’: [ ‘error’, { ‘endOfLine’: ‘auto’, } ] inside the rules object of the eslintrc file. If you are using windows machine endOfLine can be “crlf” basing on your git config.