Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Removes "prettier/react" from eslint config #18

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Removes "prettier/react" from eslint config #18

wants to merge 1 commit into from

Conversation

cristianblar
Copy link

Eslint config (since v 8) requires to use only "plugin:prettier/recommended" in the "extends" property, instead of "plugin:prettier/recommended", "prettier/react".

The configuration file with the script (as it is now) is created with:

"extends": [
    "airbnb",
    "plugin:prettier/recommended",
    "prettier/react"
  ]

And it will break the compilation process. It must be changed to:

"extends": [
    "airbnb",
    "plugin:prettier/recommended",
  ]

Here you can find official info.

Eslint config (since v 8) requires to use only "plugin:prettier/recommended" in the "extends" property, instead of "plugin:prettier/recommended", "prettier/react".

The configuration file with the script (as it is now) is created with:

```js
"extends": [
    "airbnb",
    "plugin:prettier/recommended",
    "prettier/react"
  ]
```

And it will break the compilation process. It must be changed to:

```js
"extends": [
    "airbnb",
    "plugin:prettier/recommended",
  ]
```

[Here you can find official info](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md#version-800-2021-02-21).
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant