-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add AutoCorrect Lint CI. #225
base: master
Are you sure you want to change the base?
Conversation
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: AutoCorrect | ||
uses: huacnlee/autocorrect-action@v2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Documentation is different from source code, and sometimes it shouldn't strictly adhere to a specific formatting strategy. It requires some flexibility, as mentioned in #226 (comment). We would like to have control over the formatting strategy.
Additionally, as a formatting check tool, it should support excluding certain paths and provide options to either output warnings only or fail the CI when formatting issues are detected.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
provide options to either output warnings only or fail the CI when formatting issues are detected.
May I ask that what is your action's support level for this feature?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was this file submitted intentionally?
Add AutoCorrect for lint zh contents.
https://github.com/huacnlee/autocorrect