Skip to content

Commit

Permalink
chore(workflow):添加eslint检查
Browse files Browse the repository at this point in the history
  • Loading branch information
wenmine committed Nov 21, 2023
1 parent 4e4c7fd commit c855662
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/push-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,10 @@ jobs:
with:
node-version: 16
- name: Get changed files
- name: Run eslint on changed files
uses: tj-actions/eslint-changed-files@v21
with:
config_path: "/path/to/.eslintrc"
ignore_path: "/path/to/.eslintignore"
config_path: ".eslintrc"
ignore_path: ".eslintignore"
extra_args: "--max-warnings=0"
file_extensions: |
**/*.ts
Expand Down

0 comments on commit c855662

Please sign in to comment.