Skip to content

Commit

Permalink
⚙️ lint the whole project (#47)
Browse files Browse the repository at this point in the history
* lint the whole project

* ...

* Debug

* Debug

* ...

* ...

* ...

* Ignore build dir

* Cleanup

---------

Co-authored-by: Maxim Uhlemann <[email protected]>
  • Loading branch information
TommyBom and Maxim Uhlemann authored May 24, 2024
1 parent 6e4dd1a commit d8197c1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"root": true,
"ignorePatterns": ["projects/**/*"],
"ignorePatterns": ["projects/**/*", "dist"],
"overrides": [
{
"files": ["*.ts"],
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/action_pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
run: npm run ng:lint

- name: Lint server
run: exit 0 # todo: add stuff
run: npm run server:lint

- name: Unit tests
run: npm test
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"server:serve": "node dist/server/server.js",
"server:build": "tsc --project tsconfig.server.json",
"server:watch": "npm-watch server:start",
"server:lint": "eslint .",
"format:check": "prettier '**/*.{js,jsx,ts,tsx,html,css,scss,json,yml,md}' --check",
"format": "prettier '**/*.{js,jsx,ts,tsx,html,css,scss,json,yml,md}' --write",
"ng-openapi-gen": "ng-openapi-gen --input openapi.yml --output ./src/app/core/api --indexFile=true",
Expand Down

0 comments on commit d8197c1

Please sign in to comment.