feat: eslint GitHub Action
This commit is contained in:
parent
deeffc1619
commit
c351089723
|
|
@ -3,9 +3,7 @@ name: ESLint
|
|||
|
||||
on:
|
||||
push:
|
||||
branches: [ "main" ]
|
||||
pull_request:
|
||||
branches: [ "main" ]
|
||||
|
||||
jobs:
|
||||
eslint:
|
||||
|
|
@ -24,7 +22,7 @@ jobs:
|
|||
|
||||
- name: Install ESLint
|
||||
run: |
|
||||
npm install eslint@8.10.0
|
||||
npm install eslint
|
||||
npm install @microsoft/eslint-formatter-sarif@2.1.7
|
||||
|
||||
- name: Run ESLint
|
||||
|
|
|
|||
Loading…
Reference in New Issue