Skip to content

Commit

Permalink
ci: eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
OverGlass committed Jul 23, 2024
1 parent ec2c214 commit 542a53c
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
11 changes: 11 additions & 0 deletions .github/actions/lint-codebase/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: Linting
description: eslint the codebase

runs:
using: composite
steps:
- uses: sibiraj-s/action-eslint@v3
with:
eslint-args: '--ignore-path=.gitignore --quiet'
extensions: 'js,jsx,ts,tsx'
annotations: true
1 change: 1 addition & 0 deletions .github/workflows/build-web-staging-ephemeral.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ jobs:
uses: actions/checkout@v4
- uses: ./.github/actions/setup-base
- uses: ./.github/actions/dependencies
- uses: ./.github/actions/lint-codebase
- name: ⚙️ Compile web worker
run: yarn vite build --config vite.worker.config.js
- name: ⚙️ Compile web assets
Expand Down
2 changes: 1 addition & 1 deletion src/components/404/Error404.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Button } from '@/components'
import PageLayout from '@/components/layouts/PageLayout/PageLayout'
import { Link } from 'expo-router'
import { Link, router } from 'expo-router'
import { Image, View } from 'tamagui'
import Text from '../base/Text'

Expand Down

0 comments on commit 542a53c

Please sign in to comment.