Skip to content

Commit

Permalink
feat: set prettier in each folder
Browse files Browse the repository at this point in the history
  • Loading branch information
VmMad committed Jan 10, 2024
1 parent 8166952 commit 5a5d38c
Show file tree
Hide file tree
Showing 19 changed files with 9,047 additions and 2,932 deletions.
13 changes: 0 additions & 13 deletions .eslintignore

This file was deleted.

13 changes: 8 additions & 5 deletions .github/workflows/pr-lint-check.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
name: Format & Lint
name: Format & Lint Check

on:
pull_request:
types: [opened, reopened, synchronize]

jobs:
lint-check:
install_deps:
strategy:
matrix:
project: [api, client]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -14,8 +17,8 @@ jobs:
with:
node-version: "16"
- name: Install Dependencies
run: npm install && cd client && npm install && cd ../api && npm install
run: cd ${{ matrix.project }} && npm install
- name: Format Check
run: npm run format-check
run: npm run format:check
- name: Lint Check
run: npm run lint-check
run: npm run lint
13 changes: 0 additions & 13 deletions .prettierignore

This file was deleted.

5 changes: 5 additions & 0 deletions api/.eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
.eslintrc.js
*.d.ts

dist/**
node_modules/**
Loading

0 comments on commit 5a5d38c

Please sign in to comment.