Hey, having strange issue with eslint/prettier setup
Unanswered
Mugimaki Flycatcher posted this in #help-forum
Mugimaki FlycatcherOP
{
"extends": ["next/core-web-vitals", "prettier"],
"rules": {
"quotes": ["warn", "single", { "avoidEscape": true }],
"no-unused-vars": [2, {"args": "after-used", "argsIgnorePattern": "^_"}]
}
}Basically if I extend
prettier/recommended build process fails Linting and checking validity of types . ⨯ ESLint: Failed to load config "prettier/recommend" to extend from. Referenced from: C:\Users\... on the other hand if I extend prettier build process is successful3 Replies
Toyger
did you add it like this ?
Mugimaki FlycatcherOP
Also tried this ->
FYI:
{
"extends": ["next/core-web-vitals", "plugin:prettier/recommend"], // doesn't work
}
{
"extends": ["next/core-web-vitals", "prettier"], //works
}
{
"extends": ["next/core-web-vitals", "prettier/recommend"], //doesn't work
}FYI:
eslint-plugin-prettier is installed