mirror of
https://github.com/prabirshrestha/vim-lsp.git
synced 2025-12-14 20:35:59 +01:00
add reviewdog vint github actions (#608)
add reviewdog and vint support
This commit is contained in:
13
.github/workflows/reviewdog.yml
vendored
Normal file
13
.github/workflows/reviewdog.yml
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
name: reviewdog
|
||||
on: [pull_request, push]
|
||||
jobs:
|
||||
vimlint:
|
||||
name: runner / vint
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: vint
|
||||
uses: reviewdog/action-vint@v1
|
||||
with:
|
||||
github_token: ${{ secrets.github_token }}
|
||||
level: warning
|
||||
10
.vintrc.yaml
Normal file
10
.vintrc.yaml
Normal file
@@ -0,0 +1,10 @@
|
||||
cmdargs:
|
||||
severity: style_problem
|
||||
|
||||
policies:
|
||||
ProhibitUnusedVariable:
|
||||
enabled: true
|
||||
ProhibitImplicitScopeVariable:
|
||||
enabled: true
|
||||
ProhibitNoAbortFunction:
|
||||
enabled: true
|
||||
Reference in New Issue
Block a user