Exclude auto generated src folder from eslint#33
Conversation
|
Hmm, this is the main directory for the project. If it is not linted, only some configuration files are linted. Could we lint-fix these files directly after generation and ignore them otherwise? Or should we only ignore them in GitHub Actions? What do you think? |
I am not sure actually. There are 20.000+ files in |
lukasvice
left a comment
There was a problem hiding this comment.
I think that's a good compromise
Description
Configured ESLint to skip linting the auto-generated
srcfolder which contains generated icon components.Since all the files in
srcare auto generated ingenerator.jsI think this approach is the best solution but I am open for other suggestions/solutions 🙂.Why?
Otherwise we timeout when releasing a new package see https://github.com/aboutbits/react-material-icons/actions/runs/28516232653.
Testing
Now all actions pass.