Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

craco: *** Cannot find ESLint plugin (ESLintWebpackPlugin). *** #281

Closed
yuri-sakharov opened this issue Apr 16, 2021 · 6 comments · May be fixed by #524
Closed

craco: *** Cannot find ESLint plugin (ESLintWebpackPlugin). *** #281

yuri-sakharov opened this issue Apr 16, 2021 · 6 comments · May be fixed by #524

Comments

@yuri-sakharov
Copy link

Hi,

I'm using create-react-app and getting this message on:

> DISABLE_ESLINT_PLUGIN=true craco start

craco:  *** Cannot find ESLint plugin (ESLintWebpackPlugin). ***

when run without DISABLE_ESLINT_PLUGIN=true only craco start it started without the message.
How not to get the message with DISABLE_ESLINT_PLUGIN=true ?

@stale
Copy link

stale bot commented Jun 16, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Jun 16, 2021
@stale stale bot removed the wontfix label Jun 16, 2021
@zhuhang-jasper
Copy link

zhuhang-jasper commented Aug 14, 2021

If u disable eslint in craco, then you don't need to use DISABLE_ESLINT_PLUGIN=true anymore.

In craco.config.js, add this:

module.exports = {
  // ...
  eslint: {
    enable: false
  },
  // ...
}

@kalideir
Copy link

kalideir commented Mar 29, 2022

I replaced postcss with postOptions in carco.config.js and it's working !

src

@Nate97320
Copy link

i had same issue
and followed the suggestions:
"I replaced postcss with postOptions in carco.config.js and it's working "

@dilanx dilanx closed this as completed Jun 15, 2022
@dilanx dilanx removed the todo label Jun 15, 2022
@annanyearian
Copy link

If u disable eslint in craco, then you don't need to use DISABLE_ESLINT_PLUGIN=true anymore.

What if you want to disable eslint for CI builds but not local builds. Is this possible?

@woss
Copy link

woss commented Sep 11, 2023

hi,

i'm still getting this issue with the eslint disabled like this:
docs says it should be done like that https://craco.js.org/docs/configuration/eslint/#eslintenable and the source code is here for the function disableEslint

image
module.exports = {
  // ...
  eslint: {
    enable: false
  },
  // ...
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

8 participants