1 Star 0 Fork 252

董洁/master11_6

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.autocorrectrc 2.06 KB
一键复制 编辑 原始数据 按行查看 历史
chuchihtung 提交于 2024-11-08 00:16 +08:00 . add lint conf file
# Copyright (c) 2024 Huawei Device Co., Ltd.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# yaml-language-server: $schema=https://huacnlee.github.io/autocorrect/schema.json
rules:
# Auto add spacing between CJK (Chinese, Japanese, Korean) and English words.
# 0 - off, 1 - error, 2 - warning
space-word: 1
# Add space between some punctuations.
space-punctuation: 1
# Add space between brackets (), [] when near the CJK.
space-bracket: 1
# Add space between ``, when near the CJK.
space-backticks: 1
# Add space between dash `-`
space-dash: 1
# Convert to fullwidth.
fullwidth: 1
# To remove space near the fullwidth punctuations.
no-space-fullwidth: 1
# To remove space arouned the fullwidth quotes “”, ''.
no-space-fullwidth-quote: 1
# Fullwidth alphanumeric characters to halfwidth.
halfwidth-word: 1
# Fullwidth punctuations to halfwidth in english.
halfwidth-punctuation: 1
# Spellcheck
spellcheck: 0
# Enable or disable in spatial context
context:
# Enable or disable to format codeblock in Markdown or AsciiDoc etc.
codeblock: 1
textRules:
# No default text rules.
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.
fileTypes:
# ext: grammar_name
# YAML
yaml: yaml
yml: yaml
# JSON
json: json
json5: json
# Markdown
markdown: markdown
md: markdown
mdx: markdown
# C / C++
cc: c
cpp: c
c: c
# XML
xml: xml
# Shell
sh: ruby
shell: ruby
# Text
text: text
plain: text
txt: text
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/dong--jie/master11_6.git
git@gitee.com:dong--jie/master11_6.git
dong--jie
master11_6
master11_6
master

搜索帮助