@esoteric-logic/praxis-harness 2.4.0 → 2.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/base/configs/vale/.vale.ini +3 -2
- package/base/configs/vale/Praxis/HeadingCase.yml +26 -0
- package/base/configs/vale/Praxis/SentenceLength.yml +6 -0
- package/base/configs/vale/Praxis/Terminology.yml +25 -0
- package/base/configs/vale/Praxis/vocabularies/accept.txt +32 -0
- package/base/configs/vale/Praxis/vocabularies/reject.txt +3 -0
- package/package.json +1 -1
- package/scripts/install-tools.sh +6 -0
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
StylesPath = .vale-styles
|
|
2
2
|
MinAlertLevel = suggestion
|
|
3
|
+
Vocab = Praxis
|
|
3
4
|
|
|
4
|
-
Packages =
|
|
5
|
+
Packages = Google, proselint, alex, write-good, Readability
|
|
5
6
|
|
|
6
7
|
# Full suite on Markdown
|
|
7
8
|
[*.md]
|
|
8
|
-
BasedOnStyles = Praxis,
|
|
9
|
+
BasedOnStyles = Praxis, Google, proselint, alex, write-good, Readability
|
|
9
10
|
|
|
10
11
|
# Comment-only scanning on code files
|
|
11
12
|
[*.{go,tf,sh,ps1}]
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
extends: capitalization
|
|
2
|
+
message: "'%s' should use sentence case."
|
|
3
|
+
level: warning
|
|
4
|
+
scope: heading
|
|
5
|
+
match: $sentence
|
|
6
|
+
indicators:
|
|
7
|
+
- ":"
|
|
8
|
+
exceptions:
|
|
9
|
+
- Praxis
|
|
10
|
+
- CLAUDE
|
|
11
|
+
- MCP
|
|
12
|
+
- SPEC
|
|
13
|
+
- ADR
|
|
14
|
+
- API
|
|
15
|
+
- CLI
|
|
16
|
+
- VS Code
|
|
17
|
+
- GitHub
|
|
18
|
+
- Azure
|
|
19
|
+
- Terraform
|
|
20
|
+
- Obsidian
|
|
21
|
+
- Node.js
|
|
22
|
+
- TypeScript
|
|
23
|
+
- JavaScript
|
|
24
|
+
- PowerShell
|
|
25
|
+
- YAML
|
|
26
|
+
- JSON
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
extends: substitution
|
|
2
|
+
message: "Use '%s' instead of '%s'."
|
|
3
|
+
level: error
|
|
4
|
+
ignorecase: false
|
|
5
|
+
swap:
|
|
6
|
+
terraform: Terraform
|
|
7
|
+
Github: GitHub
|
|
8
|
+
github: GitHub
|
|
9
|
+
Github Actions: GitHub Actions
|
|
10
|
+
Github actions: GitHub Actions
|
|
11
|
+
github actions: GitHub Actions
|
|
12
|
+
VScode: VS Code
|
|
13
|
+
vscode: VS Code
|
|
14
|
+
Vscode: VS Code
|
|
15
|
+
NodeJS: Node.js
|
|
16
|
+
Nodejs: Node.js
|
|
17
|
+
nodeJS: Node.js
|
|
18
|
+
Typescript: TypeScript
|
|
19
|
+
typescript: TypeScript
|
|
20
|
+
Javascript: JavaScript
|
|
21
|
+
javascript: JavaScript
|
|
22
|
+
obsidian: Obsidian
|
|
23
|
+
azure: Azure
|
|
24
|
+
Powershell: PowerShell
|
|
25
|
+
powershell: PowerShell
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
Praxis
|
|
2
|
+
CLAUDE
|
|
3
|
+
MCP
|
|
4
|
+
SPEC
|
|
5
|
+
ADR
|
|
6
|
+
YAML
|
|
7
|
+
JSON
|
|
8
|
+
CLI
|
|
9
|
+
CWD
|
|
10
|
+
npm
|
|
11
|
+
npx
|
|
12
|
+
VSCode
|
|
13
|
+
Obsidian
|
|
14
|
+
Terraform
|
|
15
|
+
GitHub
|
|
16
|
+
gitconfig
|
|
17
|
+
GitOps
|
|
18
|
+
shellcheck
|
|
19
|
+
golangci-lint
|
|
20
|
+
hadolint
|
|
21
|
+
tflint
|
|
22
|
+
semgrep
|
|
23
|
+
gitleaks
|
|
24
|
+
commitlint
|
|
25
|
+
markdownlint
|
|
26
|
+
EditorConfig
|
|
27
|
+
CLAUDE.md
|
|
28
|
+
wikilinks
|
|
29
|
+
frontmatter
|
|
30
|
+
subagent
|
|
31
|
+
harness
|
|
32
|
+
vault
|
package/package.json
CHANGED
package/scripts/install-tools.sh
CHANGED
|
@@ -97,6 +97,12 @@ if command -v vale &>/dev/null && [ -f "$VALE_CONFIG_DIR/.vale.ini" ]; then
|
|
|
97
97
|
if [ -d "$VALE_CONFIG_DIR/Praxis" ] && [ -d "$VALE_CONFIG_DIR/.vale-styles" ]; then
|
|
98
98
|
cp -R "$VALE_CONFIG_DIR/Praxis" "$VALE_CONFIG_DIR/.vale-styles/Praxis"
|
|
99
99
|
echo " Praxis rules copied to .vale-styles/"
|
|
100
|
+
# Copy vocabulary files to Vale's expected location
|
|
101
|
+
if [ -d "$VALE_CONFIG_DIR/Praxis/vocabularies" ]; then
|
|
102
|
+
mkdir -p "$VALE_CONFIG_DIR/.vale-styles/config/vocabularies/Praxis"
|
|
103
|
+
cp "$VALE_CONFIG_DIR/Praxis/vocabularies/"*.txt "$VALE_CONFIG_DIR/.vale-styles/config/vocabularies/Praxis/"
|
|
104
|
+
echo " Praxis vocabulary copied to .vale-styles/config/vocabularies/"
|
|
105
|
+
fi
|
|
100
106
|
fi
|
|
101
107
|
fi
|
|
102
108
|
|