Skip to content

chore: gitignore regenerated .eslintrc.js#7

Merged
pablogdcr merged 1 commit into
mainfrom
chore/gitignore-eslintrc
Jun 5, 2026
Merged

chore: gitignore regenerated .eslintrc.js#7
pablogdcr merged 1 commit into
mainfrom
chore/gitignore-eslintrc

Conversation

@pablogdcr

Copy link
Copy Markdown
Owner

What

expo-module-scripts' configure step (run by the prepare lifecycle on every npm install) recreates a legacy .eslintrc.js from its template whenever the file is missing. This project uses ESLint flat config (eslint.config.js), so the regenerated file is inert (ESLint 9 ignores it) and isn't part of the published tarball.

Ignoring it keeps the regenerated file out of git after a fresh install.

expo-module-scripts' configure step (run by the prepare lifecycle) recreates a
legacy .eslintrc.js from its template whenever the file is missing. The project
uses ESLint flat config (eslint.config.js), so the regenerated file is inert and
not part of the published tarball — ignore it to keep it out of git.
@pablogdcr pablogdcr merged commit 7f6bb3c into main Jun 5, 2026
4 checks passed
@pablogdcr pablogdcr deleted the chore/gitignore-eslintrc branch June 6, 2026 09:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant