introduce eslint

This commit is contained in:
syuilo
2021-07-30 01:18:19 +09:00
parent 0616534af7
commit 677ed40b40
7 changed files with 1620 additions and 15 deletions

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

@@ -0,0 +1,20 @@
name: Lint
on: [push, pull_request]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: 16.x
- name: Install
run: npm i
- name: Lint
run: npm run lint