Skip to content

Commit

Permalink
add lint workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
VladBrok committed Sep 30, 2023
1 parent 21ee889 commit 5b76184
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 26 deletions.
24 changes: 0 additions & 24 deletions .github/workflows/github-actions-demo.yml

This file was deleted.

13 changes: 13 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Lint

on: push

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install modules
run: npm i
- name: Run ESLint
run: eslint .
2 changes: 0 additions & 2 deletions api/helpers/handle-error.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,3 @@ export default function handleError(
};
end(res, answer);
}

//

0 comments on commit 5b76184

Please sign in to comment.