Closed Sarmistha91 closed 4 weeks ago
There is not enough info to reproduce this, but since you're now using ESLint: 9.0.0
, please note that the new config format is eslint.config.js
:
https://eslint.org/docs/latest/use/migrate-to-9.0.0#-new-default-config-format-eslintconfigjs
If you're still using the deprecated .eslintrc
config format, you can either:
ESLINT_USE_FLAT_CONFIG
environment variable to false
(https://eslint.org/docs/latest/use/configure/configuration-files-deprecated)If you are already using the new eslint.config.js
config format, please provide more details and a reproducible example.
Thanks @mdjermanovic for the update, yes we are currently using .eslintrc.yml file in our CICD Pipeline. I tried replacing it with a flat file (eslint.config.js), but it is failing with error in flat file for the way we are declaring it, Appreciate if you could help us create one sample flat file based on our .eslintrc.yml file (attached in comment - eslintrc.PNG)
)
Closing, as this is not a bug.
@Sarmistha91 we have a lot of documentation about how to create config files and migrate config files that were already shared previously. Please use that to update your config file.
It looks like there wasn't enough information for us to know how to help you, so we're closing the issue.
Thanks for your understanding.
Environment
Below is the job we are running -
name: Code Analysis on APIGEE JS files id: code_analysis_js
if: steps.code_analysis_proxy.outcome == 'success'
What parser are you using?
Default (Espree)
What did you do?
We are running code analysis on Apigee JS Files for Proxy APIs using eslint using above command.
This is failing with error - Oops! Something went wrong! :(
ESLint: 9.0.0
Error: Could not find config file.
What did you expect to happen?
Code analysis to complete but it is failing.
What actually happened?
The analysis was working as expected but is failing from 15th April onwards. This is failing with error - Oops! Something went wrong! :(
ESLint: 9.0.0
Error: Could not find config file.
Link to Minimal Reproducible Example
sensitive client code
Participation
Additional comments
No response