You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get the following error message when my action is executed because action is reading service/lambda/bsp/.eslintrc.json file. It should read the eslint file present in the base directory. As i have 200 plus micro services so we can't create seperate eslint config for all of them. but some of the services have eslint config file and when change is made in those services that eslint file is read by action.
Resolving repository path: /home/runner/work/respond-io/respond-io/.
Running ESlint on changed files...
Oops! Something went wrong! :(
ESLint: 8.55.0
Error: service/lambda/bsp/.eslintrc.json:
Environment key "jest/globals" is unknown
at /home/runner/work/respond-io/respond-io/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:2079:23
To Reproduce
Create a microservice and add eslint config file in that as well, but point the eslint file present in base directory. then you will see that eslint is reading service config file.
What OS are you seeing the problem on?
ubuntu-latest or ubuntu-22.04
Expected behavior?
It should read base directory eslint not the service level eslint config and should not crash.
Relevant log output
Resolving repository path: /home/runner/work/respond-io/respond-io/.
Running ESlint on changed files...
Oops! Something went wrong! :(
ESLint: 8.55.0
Error: service/lambda/bsp/.eslintrc.json:
Environment key "jest/globals" is unknown
at /home/runner/work/respond-io/respond-io/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:2079:23
Has all relevant logs been included?
I've included all relevant logs
Anything else?
No response
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Does this issue exist in the latest version?
Describe the bug?
I get the following error message when my action is executed because action is reading service/lambda/bsp/.eslintrc.json file. It should read the eslint file present in the base directory. As i have 200 plus micro services so we can't create seperate eslint config for all of them. but some of the services have eslint config file and when change is made in those services that eslint file is read by action.
Action Config:
Action Error
To Reproduce
Create a microservice and add eslint config file in that as well, but point the eslint file present in base directory. then you will see that eslint is reading service config file.
What OS are you seeing the problem on?
ubuntu-latest or ubuntu-22.04
Expected behavior?
It should read base directory eslint not the service level eslint config and should not crash.
Relevant log output
Has all relevant logs been included?
Anything else?
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: