mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
Use stylua for autoformat code (#1480)
This commit is contained in:
parent
90f15d9bf7
commit
be8f656087
32 changed files with 1181 additions and 979 deletions
11
.github/workflows/lint.yml
vendored
11
.github/workflows/lint.yml
vendored
|
|
@ -18,3 +18,14 @@ jobs:
|
|||
|
||||
- name: Run Luacheck
|
||||
run: sudo ./scripts/style-check.sh
|
||||
|
||||
stylua:
|
||||
name: StyLua
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Lint with stylua
|
||||
uses: JohnnyMorganz/stylua-action@1.0.0
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
args: --check .
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue