-
Notifications
You must be signed in to change notification settings - Fork 789
Expand file tree
/
Copy path.vale.ini
More file actions
31 lines (26 loc) · 964 Bytes
/
.vale.ini
File metadata and controls
31 lines (26 loc) · 964 Bytes
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
StylesPath = .vale/styles
MinAlertLevel = suggestion
Vocab = BrandsAndTechnologies
IgnoredScopes = tt, code
SkippedScopes = script, style, pre
[formats]
mdx = md
# General rules for all content (includes handbook)
# Must come FIRST so directory-specific patterns can override
[*.{md,mdx}]
BasedOnStyles = Vale, PostHogBase
Vale.Spelling = NO
Vale.Terms = warning
# Ignore: import/export statements, fenced code blocks
BlockIgnores = (?s)```[^\n]*\n.*?\n>?\s*```, \
(?m)^import\s+.*?from\s+['"].*?['"];?\s*$, \
(?m)^export\s+(const|let|var|function|class|default)\s+.*$
# Ignore: markdown link URLs, React component tags
TokenIgnores = \]\((?:\\\)|[^\)])+\), \
<[A-Z][\w.:-]*(?:\s+[^<>]*?)?\s*/?>
# Docs-specific rules
[**/docs/**/*.{md,mdx}]
BasedOnStyles = Vale, PostHogBase, PostHogDocs
# Editorial-specific rules
[**/{blog,newsletter,tutorials}/**/*.{md,mdx}]
BasedOnStyles = Vale, PostHogBase, PostHogEditorial