mirror of
https://github.com/harvard-edge/cs249r_book.git
synced 2026-04-29 17:20:21 -05:00
Remove Vale configuration from dev branch
Vale linting rules and configuration have been moved to the dedicated vale-rules branch for better separation of concerns. All Vale-related files now properly organized in vale-rules branch.
This commit is contained in:
@@ -1,6 +0,0 @@
|
||||
StylesPath = styles
|
||||
MinAlertLevel = suggestion
|
||||
|
||||
[*.{md,qmd}]
|
||||
#BasedOnStyles = textbook, write-good, proselint
|
||||
BasedOnStyles = textbook, write-good
|
||||
@@ -1,6 +0,0 @@
|
||||
extends: capitalization
|
||||
message: "Use sentence case in section headings."
|
||||
level: suggestion
|
||||
scope: heading
|
||||
match: $sentence
|
||||
|
||||
@@ -1,16 +0,0 @@
|
||||
extends: substitution
|
||||
message: "Avoid em dashes (—) in formal writing; use commas or rephrase."
|
||||
level: warning
|
||||
ignorecase: false
|
||||
scope: raw
|
||||
nonword: true
|
||||
swap:
|
||||
# Match an em dash between words/clauses, suggest using commas
|
||||
'\b[^—\n]+—[^—\n]+\b': ', ... ,'
|
||||
|
||||
# Optional: also match spaced em dash style (— on both sides)
|
||||
# '\s+—\s+': ', '
|
||||
|
||||
# Optional: flag improper use of hyphen instead of dash (uncomment to activate)
|
||||
# '\s+-\s+': '— (em dash) or comma'
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
extends: substitution
|
||||
message: "Use the Oxford comma in lists for clarity."
|
||||
level: suggestion
|
||||
ignorecase: true
|
||||
swap:
|
||||
# Common pattern: list of three items without Oxford comma
|
||||
'(\b\w+\b), (\b\w+\b) and (\b\w+\b)': '\1, \2, and \3'
|
||||
@@ -1,9 +0,0 @@
|
||||
extends: substitution
|
||||
message: "Use '{{suggestion}}' instead of '{{match}}' for consistency."
|
||||
level: warning
|
||||
ignorecase: true
|
||||
swap:
|
||||
latency: execution time
|
||||
learning phase: training
|
||||
hardware usage: resource utilization
|
||||
neural network: machine learning system
|
||||
@@ -1,30 +0,0 @@
|
||||
extends: substitution
|
||||
message: "Consider using '%s' instead of '%s'."
|
||||
level: warning
|
||||
ignorecase: true
|
||||
swap:
|
||||
"delve": "analyze"
|
||||
"underscore": "highlight"
|
||||
"holistic": "comprehensive"
|
||||
"pivotal": "important"
|
||||
"paradigm": "approach"
|
||||
"shed light on": "explain"
|
||||
"facilitate": "enable"
|
||||
"foster": "support"
|
||||
"leverage": "use"
|
||||
"robust": "reliable"
|
||||
"cutting-edge": "advanced"
|
||||
"state-of-the-art": "modern"
|
||||
"a myriad of": "many"
|
||||
"endeavor": "effort"
|
||||
"embark on": "begin"
|
||||
"ameliorate": "improve"
|
||||
"nuanced": "detailed"
|
||||
"unprecedented": "new"
|
||||
"empower": "enable"
|
||||
"synergy": "cooperation"
|
||||
"navigate": "address"
|
||||
"drive change": "improve"
|
||||
"at the forefront of": "leading"
|
||||
"harness": "use"
|
||||
"unlock": "enable"
|
||||
Reference in New Issue
Block a user