mirror of
https://github.com/h3poteto/whalebird-desktop
synced 2025-01-27 07:46:15 +01:00
Use reviewdog instead of sider
This commit is contained in:
parent
dd800171cd
commit
4d929c4ae9
26
.github/workflows/reviewdog.yml
vendored
Normal file
26
.github/workflows/reviewdog.yml
vendored
Normal 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'
|
17
sider.yml
17
sider.yml
@ -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'
|
Loading…
x
Reference in New Issue
Block a user