Skip to content

Github Action Eslint problem #25378

Discussion options

You must be logged in to vote

It seems like the problems are related: the action is fixing things in node_modules and then trying to commit them but node_modules are ignored… so there is nothing to commit. I’m not sure if this is right, but node_modules should be ignored by default in eslint. You eslintignore spec feels off though:

./node_modules/**/**/*.js

Should just be:

node_modules/*

Just ignore everything in node modules. Additionally you might want to add a .prettierignore with the same.

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants