chore: add ESLint (expo flat config) + Prettier#5
Open
jaxhemopo wants to merge 1 commit into
Open
Conversation
No linting or formatting was enforced; 117 files with no floor. - eslint-config-expo (flat) + eslint@9; eslint-config-prettier so Prettier owns formatting. Ignore android/ios/dist/.expo/Safekeep/scripts/assets and supabase/functions (Deno). - Disable two noisy rules for this legacy baseline: import/no-unresolved (Metro/TS resolve RN/Expo modules; false positives on @expo/vector-icons) and react/no-unescaped-entities (fine in RN copy). - Prettier config (.prettierrc/.prettierignore) + lint, lint:fix, format, format:check scripts. - Applied safe `eslint --fix` (3 files: dedupe imports, hoist imports, Object->object). Did NOT mass-run `prettier --write` (would reformat ~100 files, destroy blame, and conflict with the other Phase 1 branches) — formatting applies going forward. Baseline after setup: 21 errors / 254 warnings. Errors are all pre-existing real bugs (no-undef, no-dupe-keys) left for focused follow-up, not hidden. Audit item #5. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Establishes a lint/format floor — none existed (audit #5).
eslint-config-expo(flat) +eslint@9;eslint-config-prettierso Prettier owns formatting. Ignoresandroid/ios/dist/.expo/Safekeep/scripts/assetsandsupabase/functions(Deno).import/no-unresolved(Metro/TS resolve RN/Expo modules; false positives on@expo/vector-icons) andreact/no-unescaped-entities.lint,lint:fix,format,format:checkscripts.eslint --fixonly (3 files: dedupe imports, hoist imports,Object→object).Did not mass-run
prettier --write(would reformat ~100 files and destroy blame). Baseline after setup: 21 errors / 254 warnings — the errors are pre-existing real bugs (no-undef,no-dupe-keys) left for focused follow-up, not hidden.🤖 Generated with Claude Code