Skip to content

Commit

Permalink
new file structure for react native and github workflow linter
Browse files Browse the repository at this point in the history
  • Loading branch information
group117 committed Jul 15, 2024
1 parent c31895d commit 93aa116
Show file tree
Hide file tree
Showing 90 changed files with 17,170 additions and 1,240 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/react_native_linter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: React Native Lint

on:
push:
paths:
- 'frontend/**'

jobs:
lint:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '20.x'

- name: Navigate to frontend directory
working-directory: frontend
run: |
echo "Current directory:"
pwd
echo "Contents of the current directory:"
ls
- name: Install dependencies
working-directory: frontend
run: npm install

- name: Run linter
working-directory: frontend
run: npm run lint
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
.env
__init__.py
__pycache__/*
.vscode/*
__pycache__/*
3 changes: 0 additions & 3 deletions .vscode/settings.json

This file was deleted.

2 changes: 2 additions & 0 deletions frontend/.bundle/config
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
BUNDLE_PATH: "vendor/bundle"
BUNDLE_FORCE_RUBY_PLATFORM: 1
1 change: 0 additions & 1 deletion frontend/.dart_tool/extension_discovery/vs_code.json

This file was deleted.

203 changes: 0 additions & 203 deletions frontend/.dart_tool/package_config.json

This file was deleted.

129 changes: 0 additions & 129 deletions frontend/.dart_tool/package_config_subset

This file was deleted.

1 change: 0 additions & 1 deletion frontend/.dart_tool/version

This file was deleted.

4 changes: 4 additions & 0 deletions frontend/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
module.exports = {
root: true,
extends: '@react-native',
};
Loading

0 comments on commit 93aa116

Please sign in to comment.