Closed Lippiece closed 1 year ago
Managed to workaround by setting:
extends:
...
- "<path-to-global-modules-dir>/node_modules/eslint-config-prettier"
Hi! There is nothing special with eslint-config-prettier. (In fact, it’s one of the simplest configs in existence.) If you try this with some other config you should get the same result. You need to search for this yourself, or ask in some ESLint forum.
Is there any way to make it work with eslint installed globally? When I install this config with -g, eslint throws an error that it can't find "prettier" to extend from.
.eslintrc.yaml: