Skip to content

Commit

Permalink
update github workflow to install eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
Cardistymo committed Jul 10, 2024
1 parent ddb227d commit 1b8a892
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,6 @@ jobs:
with:
node-version: 18
- run: npm install globals
- run: npm install @eslint/eslintrc
- run: npm install @eslint/js
- run: npx eslint .
5 changes: 5 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
repos:
- repo: https://github.com/pre-commit/mirrors-eslint
rev: v9.6.0
hooks:
- id: eslint

0 comments on commit 1b8a892

Please sign in to comment.