diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 0000000..0ef1f53 --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,8 @@ +name: Lint + +on: [push] + +jobs: + lint: + uses: snapshot-labs/actions/.github/workflows/lint.yml@main + secrets: inherit diff --git a/package.json b/package.json index c6511ed..8c9dbc0 100644 --- a/package.json +++ b/package.json @@ -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"