Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects, and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
luochen1990
secret-guard
Repository navigation
Code
Issues
Pull requests
Discussions
Actions
Projects
Security and quality
Insights
More
items
Files
Expand file tree
master
Breadcrumbs
secret-guard
/
_typos.toml
Copy path
Blame
More file actions
Blame
More file actions
Latest commit
History
History
History
36 lines (34 loc) · 1.87 KB
master
Breadcrumbs
secret-guard
/
_typos.toml
Copy path
Top
File metadata and controls
Code
Blame
36 lines (34 loc) · 1.87 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# typos-cli 配置: 拼写检查白名单.
#
# 项目大量英文术语与中文注释混排, 默认词表对合法标识符 / test fixture 会误报.
# 本文件只收录经人工确认为合法的误报 (identifier / fixture), 不放真 typo.
#
# 字段语义:
# [default.extend-identifiers]: 只在 "作为 identifier 出现" 时忽略 (大小写敏感全词匹配).
# 适合变量名 / 类型名 (不会误放过字符串里的同名子串).
# [default.extend-words]: 作为单词出现就忽略 (不纠正). 适合 test fixture 字符串片段.
# [default.extend-ignore-words-re]: 正则忽略, 更宽泛, 谨慎用.
#
# 维护纪律: 每项必须有注释说明为什么是误报 (合法标识符含义 / fixture 用途).
[default.extend-identifiers]
# pn = parent node (DAG 父节点变量, dag.rs 内部约定).
pn = "pn"
# thr = threshold (awk 局部变量, justfile bench-ci 解析 criterion 输出用, awk 惯用短名).
thr = "thr"
[default.extend-words]
# hel / abd = SSE 流式测试 fixture 的字符串片段 (codec/stream.rs / auth/apikey.rs),
# 非 English 单词, 是构造畸形输入验证 parser 鲁棒性的字面量, 不应被纠正.
hel = "hel"
abd = "abd"
# protocl / valeu = 静态配置审计 (#159) 的拼写错误 fixture — 测试 "did you mean"
# 拼写建议 (protocl→protocol / valeu→value) 的关键输入, 故意拼错, 不应被纠正.
protocl = "protocl"
valeu = "valeu"
# inital = 同上的深层 fixture (mock_strategy.inital → initial 建议).
inital = "inital"
# prioroty = 同上的深层 fixture (providers.routes.prioroty → priority 建议, 多规则化).
prioroty = "prioroty"
# comon = 静态配置审计 (#159) 的拼写错误 fixture — providers.endpoints entry 内
# 的 comon_uri (→ common_uri 建议), multi-endpoint schema 的端点级递归审计用,
# 故意拼错, 不应被纠正.
comon = "comon"
You can’t perform that action at this time.