Skip to content

Commit

Permalink
Add vale linter
Browse files Browse the repository at this point in the history
  • Loading branch information
ValentaTomas committed Oct 15, 2024
1 parent 277d53b commit 35083d2
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .vale.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
StylesPath = vale-styles

MinAlertLevel = suggestion

Packages = Microsoft, proselint, write-good, alex, Readability, Joblint, Google

[*.{md,ts,py}]
BasedOnStyles = Vale, Microsoft, proselint, write-good, alex, Readability, Joblint, Google
3 changes: 3 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,8 @@
"ms-python.vscode-pylance",
"ms-python.python",
"bradlc.vscode-tailwindcss",
"streetsidesoftware.code-spell-checker",
"timonwong.shellcheck",
"chrischinchilla.vale-vscode"
]
}
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,7 @@ generate-python:
cd packages/python-sdk && make generate-api
cd spec/envd && buf generate --template buf-python.gen.yaml
cd packages/python-sdk && ./scripts/fix-python-pb.sh && black .

.PHONY: init-styles
init-styles:
vale sync

0 comments on commit 35083d2

Please sign in to comment.