如果在你的部署的内容根目录中有一个 .vale.ini 文件,那么 Vale CI 检查会使用该配置文件以及你在 stylesPath 中指定的任何配置文件。如果你没有 Vale 配置文件,则会自动加载默认配置。
Default vale.ini configuration
报告错误代码
复制
询问AI
# Top level stylesStylesPath = /app/stylesMinAlertLevel = suggestion# Inline HTML tags to ignore (code/tt for code snippets, img/url for links/images, a for anchor tags)IgnoredScopes = code, tt, img, url, aSkippedScopes = script, style, pre, figure# VocabulariesVocab = Mintlify# 将 MDX 解析为 MD,以避免与 JSX 产生兼容性问题[formats]mdx = md# Only match MDX[*.mdx]BasedOnStyles = ValeVale.Terms = NO # Enforces really harsh capitalization rules, keep off# Ignore JSX/MDX-specific syntax patterns# `import ...`, `export ...`# `<Component ... />`# `<Component>...</Component>`# `{ ... }`TokenIgnores = (?sm)((?:import|export) .+?$), \(?<!`)(<\w+ ?.+ ?\/>)(?!`), \(<[A-Z]\w+>.+?<\/[A-Z]\w+>), \\{[^}]*\}# Exclude multiline JSX and curly braces# `<Component \n ... />`BlockIgnores = (?sm)^(<\w+\n .*\s\/>)$, \(?sm)^({.+.*})
默认的 Vale 词汇列表包含以下词汇。
Default Vale vocabulary
报告错误代码
复制
询问AI
MintlifymintlifyVSCodeopenapiOpenAPIGitHubAPIsreponpmdevLoremipsumimpsumametconstmyNamemyObjectbearerAuthfavicontopbarurlborderRadiusargsmodeToggleModeToggleisHiddenautoplay_italic_StrikethroughBlockquotesBlockquoteSinglelineMultilineonboardingasyncawaitbooleanenumfuncimplinitinstanceoftypeofparamsstdinstdoutstderrstdoutstdinvarconstletnullundefinedstructboolcorscsrfenvxhrxhr2jwtoauthwebsocketlocalhostmiddlewareruntimewebhookstdinstdoutjsonyamlymlmdtxttsxjsxcssscsshtmlpngjpgsvgcdnclicssdomdtoenvgitguihttphttpsidejvmmvcormrpcsdksqlsshssltcptlsuriurluxuinodejsnpmyarnpnpmeslintpytestgolangrustckubectlmongopostgresredisJavaScriptTypeScriptPythonRubyRustGoGolangJavaKotlinSwiftNode.jsNodeJSDenoReactVueAngularNext.jsNuxtExpressDjangoFlaskSpringLaravelReduxVuexTensorFlowPostgreSQLMongoDBRedisPNPMDockerKubernetesAWSAzureGCPTerraformJenkinsCircleCIGitLabHerokuGitgitGitHubGitLabBitbucketVSCodeVisual Studio CodeIntelliJWebStormESLinteslintPrettierprettierWebpackwebpackViteviteBabelbabelJestjestMochaCypressPostmanHTTPHTTPSOAuthJWTGraphQLRESTWebSocketTCP/IPNPMYarnPNPMPipPIPCargoRubyGemsSwaggerOpenAPIMarkdownMDXStorybookTypeDocJSDocMySQLPostgreSQLMongoDBRedisElasticsearchDynamoDBLinuxUnixmacOSiOSFirefoxChromiumWebKitconfigctxdescdirelemerrlenmsgnumobjprevprocptrreqresstrtmpvalvarstodohreflangnavprevnexttoc