Add AutoCorrect Lint on CI.

This commit is contained in:
Jason Lee 2023-01-17 11:38:56 +08:00
parent 483ea9f308
commit edad745be5
2 changed files with 16 additions and 0 deletions

2
.autocorrectrc Normal file
View File

@ -0,0 +1,2 @@
rules:
no-space-fullwidth-quote: 0

14
.github/workflows/autocorrect.yml vendored Normal file
View File

@ -0,0 +1,14 @@
name: AutoCorrect
on: [push, pull_request]
jobs:
autocorrect:
name: AutoCorrect Lint
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@v3
with:
fetch-depth: 1
- name: Lint
uses: huacnlee/autocorrect-action@v2.5.8