viclint is the official code linter for VisionScript.
You can use viclint
to ensure your code conforms to the VisionScript style.
To install viclint, run the following command:
pip install viclint
To use viclint, run:
viclint <path>
<path>
can be a single file or a directory whose .vic
files you want to lint.
A file must end in .vic
to be linted.
Here is an example output from the linter:
🪄 Linting ./camera.vic...
✨ Your code is now prettier! ✨
If the lint failed, you will see an error message:
🪄 Linting ./camera.vic...
🚨 ./camera.vic failed to lint.
This project is licensed under an MIT license.