Skip to content

Commit

Permalink
chore: fix eslint-prettier error (#50)
Browse files Browse the repository at this point in the history
When attempting to fix eslint rules in file, the following error appeared

```Error: "prettier/vue" has been merged into "prettier" in eslint-config-prettier 8.0.0. See: https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md#version-800-2021-02-21```

Reading the linked changelog, it seemed the fix was to simply only use the prettier/recommended extension. Simplified eslintrc to reflect this.
  • Loading branch information
ComradeVanti authored Oct 29, 2023
1 parent 23f43fd commit 14f8ba5
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ module.exports = {
},
extends: [
"eslint:recommended",
"plugin:vue/recommended",
"prettier/vue",
"plugin:prettier/recommended"
],
rules: {
Expand Down

0 comments on commit 14f8ba5

Please sign in to comment.