chore: add linter

This commit is contained in:
LuanRT
2022-05-18 05:51:54 -03:00
parent 759351c38e
commit 0219c075c7
3 changed files with 69 additions and 0 deletions

17
.github/workflows/lint.yml vendored Normal file
View File

@@ -0,0 +1,17 @@
name: Lint
on: [push, pull_request]
jobs:
eslint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- name: npm install and lint
run: |
npm install
npm run lint