Skip to content

Commit

Permalink
[Task] #58 eslint scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
Type-Style committed Apr 5, 2024
1 parent 521cc17 commit 458ce0b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/eslint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,5 @@ jobs:
run: npx eslint src/ --fix
- name: Lint client-side code
run: npx eslint httpdocs/js/ --fix
- name: Lint react code
run: npx eslint src/client/ --fix
1 change: 0 additions & 1 deletion httpdocs/js/login.js
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"dev:static": "nodemon --config nodemon-static.json",
"lint": "eslint . --fix",
"lint:client": "eslint httpdocs/js/ --fix",
"lint:react": "eslint src/client --fix",
"test": "jest",
"test:app": "jest src/tests/app.test.ts",
"test:login": "jest src/tests/login.test.ts",
Expand Down

0 comments on commit 458ce0b

Please sign in to comment.