Commit 6008b584 authored by tom's avatar tom

change command

parent a8db00ee
name: Linters name: Linters
on: [pull_request] on: [pull_request]
jobs: jobs:
build: eslint:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Install dependencies - name: Install dependencies
run: yarn run: yarn
- name: Run ESLint - name: Run ESLint
run: eslint . --ext .js,.jsx,.ts,.tsx run: yarn lint:eslint
\ No newline at end of file \ No newline at end of file
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
"dev": "next dev", "dev": "next dev",
"build": "next build", "build": "next build",
"start": "next start", "start": "next start",
"lint": "next lint", "lint:eslint": "./node_modules/.bin/eslint . --ext .js,.jsx,.ts,.tsx",
"prepare": "husky install" "prepare": "husky install"
}, },
"dependencies": { "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