Skip to content

Commit c676d74

Browse files
author
Maxim Uhlemann
committed
...
1 parent 858e22d commit c676d74

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.github/workflows/action_pull_request.yml

+5-2
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,11 @@ jobs:
2727
- name: Prettier
2828
run: npm run format:check
2929

30-
- name: Lint
31-
run: npm run lint
30+
- name: Lint frontend
31+
run: npm run ng:lint
32+
33+
- name: Lint server
34+
run: npm run server:lint
3235

3336
- name: Test frontend
3437
run: exit 0 # todo: add stuff

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,11 @@
1212
"server:serve": "node dist/server/server.js",
1313
"server:build": "tsc --project tsconfig.server.json",
1414
"server:watch": "npm-watch server:start",
15+
"server:lint": "eslint .",
1516
"format:check": "prettier '**/*.{js,jsx,ts,tsx,html,css,scss,json,yml,md}' --check",
1617
"format": "prettier '**/*.{js,jsx,ts,tsx,html,css,scss,json,yml,md}' --write",
1718
"ng-openapi-gen": "ng-openapi-gen --input openapi.yml --output ./src/app/core/api --indexFile=true",
18-
"lint": "npm run ng:lint && eslint .",
19+
"lint": "npm run ng:lint && npm run server:lint",
1920
"install-submodules": "git submodule update --init --recursive"
2021
},
2122
"watch": {

0 commit comments

Comments
 (0)