- Issue created by @jaydee1818
I'm unable to configure core's version of ESLint. There seems to be an issue with the `eslint-plugin-prettier` package.
yarn install
yarn install v1.22.19 [1/5] Validating package.json... [2/5] Resolving packages... [3/5] Fetching packages... [4/5] Linking dependencies... warning " > eslint-plugin-prettier@5.0.0" has incorrect peer dependency "prettier@>=3.0.0". [5/5] Building fresh packages... Done in 29.18s.
./node_modules/.bin/eslint ../modules/custom/my-module/js/my-file.js
Oops! Something went wrong! :(
ESLint: 8.44.0
ESLint couldn't find the plugin "eslint-plugin-prettier".
(The package "eslint-plugin-prettier" was not found when loaded as a Node module from the directory "/var/www/html/docroot".)
It's likely that the plugin isn't installed correctly. Try reinstalling by running the following:
npm install eslint-plugin-prettier@latest --save-dev
The plugin "eslint-plugin-prettier" was referenced from the config file in "../.eslintrc.json ยป ./core/.eslintrc.json".
If you still can't figure out the problem, please stop by https://eslint.org/chat/help to chat with the team.
Active
10.1 โจ
Last updated