Eslint error

"@roots/bud": "6.4.0",
"@roots/bud-eslint": "^6.4.0",
"@roots/bud-sass": "^6.4.0",
"@roots/bud-tailwindcss": "6.4.0",
"@roots/eslint-config": "^6.4.0",
"@roots/sage": "6.4.0"

After install bud-eslint and eslint-config I get this error when yarn build:

[eslint] No ESLint configuration found in ./resources/scripts.

It complains that it doesn’t find config in resources/scripts, but the settings should be in the eslint.config.cjs file in the theme folder, according to the documentation.

Captura de pantalla 2022-09-18 a las 14.16.54

Hey @aitor, I’m seeing the same behavior as well when following the docs

Can you please try renaming the file to .eslintrc.cjs?

1 Like