Merge pull request #3528 from h3poteto/retire-sider

Use reviewdog instead of sider
This commit is contained in:
AkiraFukushima 2022-07-27 01:23:13 +09:00 committed by GitHub
commit 9073f74ff2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 26 additions and 17 deletions

26
.github/workflows/reviewdog.yml vendored Normal file
View File

@ -0,0 +1,26 @@
name: reviewdog
on:
pull_request:
jobs:
eslint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: eslint
uses: reviewdog/action-eslint@v1
with:
reporter: github-pr-review
stylelint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: stylelint
uses: reviewdog/action-stylelint@v1
with:
reporter: github-pr-review
stylelint_input: '**/*.vue'

View File

@ -1,17 +0,0 @@
linter:
eslint:
npm_install: true
config: '.eslintrc.js'
ext: '.js,.vue,.ts'
ignore-path: .eslintignore
target:
- src
- spec
stylelint:
npm_install: true
config: .stylelintrc.json
ignore-path: .stylelintignore
syntax: scss
ignore-disables: true
glob: '**/*.vue'