Skip to content

Commit 1fd9965

Browse files
yjoseclaude
andcommitted
chore: migrate from Prettier to @antfu/eslint-config
- Remove Prettier and related dependencies - Install @antfu/eslint-config with React and TypeScript support - Update ESLint config to use flat config with antfu preset - Configure stylistic rules (indent: 2, quotes: single, semi: true) - Update VS Code settings to use ESLint for formatting - Update lint-staged to use ESLint only - Add rule to prefer type over interface - Auto-fix formatting across codebase - Fix TypeScript type errors from interface to type conversions - Remove obsolete eslint-disable comments and ts-ignore directives - Adjust rules for React Native development patterns Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent 865b6db commit 1fd9965

111 files changed

Lines changed: 9602 additions & 2666 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/actions/eas-build/action.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ inputs:
3131
APP_ENV:
3232
description: 'APP_ENV (one of): development, staging, production'
3333
required: true
34-
default: 'staging'
35-
AUTO_SUBMIT: ## TODO: we need to handle this too
34+
default: staging
35+
AUTO_SUBMIT: # # TODO: we need to handle this too
3636
description: 'AUTO_SUBMIT (one of): true, false'
3737
required: true
3838
default: 'false'
@@ -41,20 +41,20 @@ inputs:
4141
required: true
4242
default: 'true'
4343
VERSION:
44-
description: 'VERSION'
44+
description: VERSION
4545
required: true
46-
default: '0.0.0'
46+
default: 0.0.0
4747
IOS:
4848
description: 'run for IOS (one of): true, false'
4949
required: true
5050
default: 'false'
5151
EXPO_TOKEN:
52-
description: 'EXPO_TOKEN'
52+
description: EXPO_TOKEN
5353
required: true
5454
default: 'false'
5555

5656
runs:
57-
using: 'composite'
57+
using: composite
5858
steps:
5959
- name: 💯 Check for EXPO_TOKEN
6060
run: |

.github/actions/setup-jdk-generate-apk/action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@ inputs:
2121
APP_ENV:
2222
description: 'APP_ENV (one of): development, staging, production'
2323
required: true
24-
default: 'staging'
24+
default: staging
2525

2626
runs:
27-
using: 'composite'
27+
using: composite
2828
steps:
2929
- name: Set Up JDK
3030
uses: actions/setup-java@v3
3131
with:
32-
distribution: 'zulu' # See 'Supported distributions' for available options
32+
distribution: zulu # See 'Supported distributions' for available options
3333
java-version: '17'
3434
- name: Setup Gradle
3535
uses: gradle/gradle-build-action@v2

.github/actions/setup-node-pnpm-install/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@
1414
name: 'Setup Node + PNPM + Install Dependencies'
1515
description: 'Setup Node + PNPM + Install Dependencies'
1616
runs:
17-
using: 'composite'
17+
using: composite
1818
steps:
1919
- uses: pnpm/action-setup@v4
2020
with:
2121
run_install: false
2222
- uses: actions/setup-node@v4
2323
with:
2424
node-version: 20
25-
cache: 'pnpm'
25+
cache: pnpm
2626

2727
- name: 📦 Install Project Dependencies
2828
run: pnpm install --frozen-lockfile

.github/workflows/e2e-android-eas-build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ on:
1717
inputs:
1818
apk-url:
1919
type: string
20-
description: 'EAS APK URL'
20+
description: EAS APK URL
2121
required: true
2222
default: ''
2323

@@ -49,7 +49,7 @@ jobs:
4949
fetch-depth: 0
5050

5151
- name: 📦 Install Maestro
52-
run: npm run install-maestro ## We use npm because we don't need to install deps again
52+
run: npm run install-maestro # # We use npm because we don't need to install deps again
5353

5454
- name: Download Test APK
5555
uses: actions/download-artifact@v3

.github/workflows/e2e-android.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
fetch-depth: 0
5858

5959
- name: 📦 Install Maestro
60-
run: npm run install-maestro ## We use npm because we don't need to install deps again
60+
run: npm run install-maestro # # We use npm because we don't need to install deps again
6161

6262
- name: Download Test APK
6363
uses: actions/download-artifact@v3

.github/workflows/eas-build-qa.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,3 @@ jobs:
4444
EXPO_TOKEN: ${{ secrets.EXPO_TOKEN }}
4545
VERSION: ${{ github.event.release.tag_name }}
4646
IOS: false # TODO: set as true when IOS account is ready
47-

.github/workflows/expo-doctor.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,17 @@ on:
1616
- main
1717
- master
1818
paths:
19-
- 'package.json'
20-
- 'pnpm-lock.yaml'
19+
- package.json
20+
- pnpm-lock.yaml
2121
pull_request:
2222
paths:
23-
- 'package.json'
24-
- 'pnpm-lock.yaml'
23+
- package.json
24+
- pnpm-lock.yaml
2525

2626
permissions:
2727
contents: read
2828
pull-requests: write
29-
29+
3030
jobs:
3131
doctor:
3232
name: Expo Doctor (expo)

.github/workflows/lint-ts.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ on:
2121
permissions:
2222
contents: read
2323
pull-requests: write
24-
24+
2525
jobs:
2626
lint:
2727
name: Lint TS (eslint, prettier)

.github/workflows/new-app-version.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ on:
2828
type: choice
2929
description: 'Release type (one of): patch, minor, major'
3030
required: true
31-
default: 'patch'
31+
default: patch
3232
options:
3333
- patch
3434
- minor

.github/workflows/stale.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
permissions:
88
contents: read
99
pull-requests: write
10-
10+
1111
jobs:
1212
stale:
1313
runs-on: ubuntu-latest
@@ -16,9 +16,9 @@ jobs:
1616
- uses: actions/stale@v1
1717
with:
1818
repo-token: ${{ secrets.GITHUB_TOKEN }}
19-
stale-issue-message: 'This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 14 days'
20-
stale-pr-message: 'This PR is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 14 days'
21-
stale-issue-label: 'no-issue-activity'
22-
stale-pr-label: 'no-pr-activity'
19+
stale-issue-message: This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 14 days
20+
stale-pr-message: This PR is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 14 days
21+
stale-issue-label: no-issue-activity
22+
stale-pr-label: no-pr-activity
2323
days-before-stale: 60
2424
days-before-close: 14

0 commit comments

Comments
 (0)