Shared code style configurations and linting rules for Python, Ruby, and TypeScript/JavaScript projects. Used as a git submodule across multiple repositories to maintain consistent code formatting and quality standards.
| Category | Technologies |
|---|---|
| Python | Ruff, Flake8 (legacy) |
| Ruby | RuboCop |
| TypeScript/JavaScript | Biome |
# Add as submodule
git submodule add git@github.com:bloomon/style-guide style-guide
# Initialize and update
git submodule update --init --recursivePython (Ruff)
# In pyproject.toml
[tool.ruff]
extend = "style-guide/python/ruff.toml"Python (Flake8 - legacy)
# In setup.cfg or tox.ini
[flake8]
extend-config = style-guide/python/flake8Ruby (RuboCop)
# In .rubocop.yml
inherit_from: style-guide/ruby/rubocop.ymlTypeScript/JavaScript (Biome)
# In biome.json
{
"extends": ["./style-guide/typescript/biome.json"]
}# Update to latest version
git submodule update --remote style-guide
# Commit the update
git add style-guide
git commit -m "Update style-guide submodule"