Code style, formatting, and development practices
This section contains guides for maintaining consistent code quality and style across the dotfiles repository and your development projects.
The fixy script (documented in tools/README.md) combines:
Industry standard compliance:
Comprehensive coding standards:
# 4 spaces, 100 char lines
def example_function(parameter_one: str,
parameter_two: int) -> bool:
"""Docstring with industry-standard format."""
return True
// 2 spaces, modern syntax
const exampleFunction = async (param) => {
const result = await fetchData(param);
return result;
};
# 2 spaces, industry standard
main() {
local arg="${1}"
if [[ -z "${arg}" ]]; then
echo "Error: Missing argument" >&2
return 1
fi
}
These standards are enforced through:
src/editorconfig and language serversfixy scriptstyleguide/ (git submodule)