Skip to content

Commit

Permalink
chore: add lint to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
wa0x6e committed Aug 17, 2023
1 parent 88fdf92 commit 3ab2192
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
8 changes: 8 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
name: Lint

on: [push]

jobs:
lint:
uses: snapshot-labs/actions/.github/workflows/lint.yml@main
secrets: inherit
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
"version": "0.1.0",
"license": "MIT",
"scripts": {
"lint": "eslint . --ext .ts --fix",
"lint": "eslint src/ --ext .ts,.json",
"lint:fix": "yarn lint --fix",
"typecheck": "tsc --noEmit",
"build": "tsc",
"dev": "nodemon src/index.ts",
"start": "node dist/src/index.js"
Expand Down

0 comments on commit 3ab2192

Please sign in to comment.