Skip to content

Commit

Permalink
chore: raise warning on CI on lint errors (#49)
Browse files Browse the repository at this point in the history
* chore: raise warning on CI on lint errors

* fix: default lint task should fix

---------

Co-authored-by: Chaitanya <[email protected]>
  • Loading branch information
wa0x6e and ChaituVR authored Jul 15, 2023
1 parent 9790211 commit 4398709
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ jobs:
run: |
yarn install --frozen-lockfile
yarn build
yarn lint
yarn lint:nofix
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"version": "0.1.0",
"license": "MIT",
"scripts": {
"lint": "eslint . --ext .ts --fix",
"lint:nofix": "eslint . --ext .ts",
"lint": "yarn lint:nofix --fix",
"typecheck": "tsc --noEmit",
"build": "tsc",
"dev": "nodemon src/index.ts",
Expand Down

0 comments on commit 4398709

Please sign in to comment.