Open theclive opened 3 years ago
I'm having the same problem but this project seems unmaintained, no updates for more than a year unfortunately.
Read this: https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md#version-800-2021-02-21
in my case, in .eslintrc file I had:
"extends": [
"standard",
"standard-react",
"plugin:prettier/recommended",
"prettier/standard",
"prettier/react"
],
and now I have:
"extends": [
"standard-react",
"plugin:prettier/recommended"
],
Overview
We are having an issue using prettier-standard alongside
eslint
&eslint-config-prettier
. Upon runningprettier-standard --lint
we receive an error which seems to be related to this change ineslint-config-prettier
. This error does not present wheneslint-config-prettier
is removed from ourpackage.json
.Steps to re-create
npm init
npm install --save-dev prettier-standard eslint eslint-config-prettier
package.json
:"lint": "prettier-standard --lint *"
npm run lint
Expected results
Actual results