-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci(lint): move to
autocorrect
(#777)
Replaces the existing `zhlint` linter with `autocorrect` in order to enhance the linting process for Chinese language content in the codebase.
- Loading branch information
Showing
91 changed files
with
812 additions
and
5,444 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,121 @@ | ||
# yaml-language-server: $schema=https://huacnlee.github.io/autocorrect/schema.json | ||
rules: | ||
# Default rules: https://github.com/huacnlee/autocorrect/raw/main/autocorrect/.autocorrectrc.default | ||
spellcheck: 2 | ||
textRules: | ||
# Config some special rule for some texts | ||
# For example, if we wants to let "Hello你好" just warning, and "Hi你好" to ignore | ||
# "Hello你好": 2 | ||
# "Hi你好": 0 | ||
fileTypes: | ||
# Config the files associations, you config is higher priority than default. | ||
# "rb": ruby | ||
# "Rakefile": ruby | ||
# "*.js": javascript | ||
# ".mdx": markdown | ||
spellcheck: | ||
words: | ||
# Please do not add a general English word (eg. apple, python) here. | ||
# Users can add their special words to their .autocorrectrc file by their need. | ||
- ActiveMQ | ||
- AirPods | ||
- Aliyun | ||
- API | ||
- App Store | ||
- AppKit | ||
- AppStore = App Store | ||
- AWS | ||
- CacheStorage | ||
- CDN | ||
- CentOS | ||
- CloudFront | ||
- CORS | ||
- CPU | ||
- DNS | ||
- Elasticsearch | ||
- ESLint | ||
- GeForce | ||
- GitHub | ||
- GPU | ||
- H5 | ||
- Hadoop | ||
- HBase | ||
- HDFS | ||
- HKEX | ||
- HTML | ||
- HTTP | ||
- HTTPS | ||
- I10n | ||
- I18n | ||
- iMovie | ||
- IndexedDB | ||
- Intel | ||
- iOS | ||
- iPad | ||
- iPadOS | ||
- iPhone | ||
- iTunes | ||
- JavaScript | ||
- jQuery | ||
- JSON | ||
- JWT | ||
- Linux | ||
- LocalStorage | ||
- macOS | ||
- Markdown | ||
- MatrixOne | ||
- MatrixOrigin | ||
- Microsoft | ||
- MongoDB | ||
- Mozilla | ||
- MVC | ||
- MySQL | ||
- Nasdaq | ||
- Netflix | ||
- NodeJS = Node.js | ||
- NoSQL | ||
- NVDIA | ||
- NYSE | ||
- OAuth | ||
- Objective-C | ||
- OLAP | ||
- OSS | ||
- P2P | ||
- PaaS | ||
- RabbitMQ | ||
- Redis | ||
- RESTful | ||
- RSS | ||
- RubyGem | ||
- RubyGems | ||
- SaaS | ||
- Sass | ||
- SDK | ||
- Shopify | ||
- SQL | ||
- SQLite | ||
- SQLServer | ||
- SSL | ||
- Tesla | ||
- TikTok | ||
- tvOS | ||
- TypeScript | ||
- Ubuntu | ||
- UML | ||
- URI | ||
- URL | ||
- VIM | ||
- watchOS | ||
- WebAssembly | ||
- WebKit | ||
- Webpack | ||
- Wi-Fi | ||
- Windows | ||
- WWDC | ||
- Xcode | ||
- XML | ||
- YAML | ||
- YML | ||
- YouTube |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,2 @@ | ||
site | ||
site/ | ||
node_modules/ | ||
|
||
# Configuration files of zhlint. | ||
.zhlintrc | ||
.zhlintignore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,7 +21,7 @@ | |
|
||
| 类型 | 说明 | | ||
| ------------------------------------------------- | ------------------------------------------------------------ | | ||
| 分享用例和解决方案 | 向用户展示如何在特定场景下使用 MatrixOne,可以将您的用例发送到 [email protected],我们将在社区中发布。 | | ||
| 分享用例和解决方案 | 向用户展示如何在特定场景下使用 MatrixOne,可以将您的用例发送到 <[email protected]>,我们将在社区中发布。 | | ||
| 撰写博文、故事墙、白皮书 | 撰写高质量的文章,清晰准确地解释有关 MatrixOne 的技术细节。| | ||
| 做一场技术演讲或现场直播 | 发表演讲或现场直播可以帮助提高各界朋友对 MatrixOne 的认识。| | ||
| 互相支持 | 帮助 GitHub 上的用户解决使用 MatrixOne 时遇到的问题。 | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.