Skip to content

armgit / E2B

Public Imported from GitHub
0

Open-source, secure environment with real-world tools for enterprise-grade agents.

Add vale linter

Tomas Valenta35083d2b0b07
diff --git a/.vale.ini b/.vale.ini
new file mode 100644
index 000000000..5fa2919b6
--- /dev/null
+++ b/.vale.ini
@@ -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
\ No newline at end of file
diff --git a/.vscode/extensions.json b/.vscode/extensions.json
index b425f9057..181206c78 100644
--- a/.vscode/extensions.json
+++ b/.vscode/extensions.json
@@ -5,5 +5,8 @@
"ms-python.vscode-pylance",
"ms-python.python",
"bradlc.vscode-tailwindcss",
+ "streetsidesoftware.code-spell-checker",
+ "timonwong.shellcheck",
+ "chrischinchilla.vale-vscode"
]
}
\ No newline at end of file
diff --git a/Makefile b/Makefile
index a0744e9dc..e9262b405 100644
--- a/Makefile
+++ b/Makefile
@@ -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
\ No newline at end of file