Commit 6008b584 authored by tom's avatar tom

change command

parent a8db00ee
name: Linters
on: [pull_request]
jobs:
build:
eslint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: yarn
- name: Run ESLint
run: eslint . --ext .js,.jsx,.ts,.tsx
\ No newline at end of file
run: yarn lint:eslint
\ No newline at end of file
......@@ -6,7 +6,7 @@
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint",
"lint:eslint": "./node_modules/.bin/eslint . --ext .js,.jsx,.ts,.tsx",
"prepare": "husky install"
},
"dependencies": {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment