Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
2 changes: 2 additions & 0 deletions .config/rustfmt.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
edition = "2024"
style_edition = "2024"
2 changes: 1 addition & 1 deletion .github/actions/setup-cargo-tools/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ runs:

- name: Install cargo-binstall
if: steps.cache-cargo-tools.outputs.cache-hit != 'true' && inputs.binstall-tools != ''
uses: cargo-bins/cargo-binstall@113a77a4ce971c41332f2129c3d995df993cf746 # v1.17.8
uses: cargo-bins/cargo-binstall@0b24824336e2b3800b0f89d9e08b2c08bfa3dcdd # v1.17.9

- name: Install tools via binstall
if: steps.cache-cargo-tools.outputs.cache-hit != 'true' && inputs.binstall-tools != ''
Expand Down
12 changes: 12 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,15 @@ updates:
labels:
- "dependencies"
- "github-actions"

# npm dependencies
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "weekly"
day: "monday"
# Disable automatic PRs - we use the issues workflow instead
open-pull-requests-limit: 0
labels:
- "dependencies"
- "npm"
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
toolchain: stable

- name: rustfmt
run: cargo fmt --check
run: cargo fmt --check -- --config-path .config/rustfmt.toml

- name: clippy
run: cargo clippy --all-targets --all-features -- -D warnings
Expand Down Expand Up @@ -81,6 +81,9 @@ jobs:

- name: Check dependencies
uses: EmbarkStudios/cargo-deny-action@3fd3802e88374d3fe9159b834c7714ec57d6c979 # v2.0.15
with:
command: check
command-arguments: --config .config/deny.toml

msrv:
name: msrv
Expand Down
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ target/
**/*.rs.bk

# Generated man pages and shell completions (keep .gitkeep)
dist/share/man/man1/*.1
dist/share/completions/*
dist/
!dist/share/**/.gitkeep

# Benchmark results (keep .gitkeep)
Expand All @@ -59,3 +58,5 @@ scratch
scratch/

.private-journal/
PRIVATE_MEMORY.md
.claude/
5 changes: 2 additions & 3 deletions .justfile
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ bootstrap:
echo " target/debug/bito --help"

fmt:
cargo fmt --all
cargo fmt --all -- --config-path .config/rustfmt.toml

clippy:
cargo +{{toolchain}} clippy --all-targets --all-features --message-format=short -- -D warnings
Expand All @@ -108,7 +108,7 @@ fix:

# Check dependencies for security advisories and license compliance
deny:
cargo deny check
cargo deny check --config .config/deny.toml

test:
cargo nextest run
Expand Down Expand Up @@ -164,7 +164,6 @@ mdfix *files='':




# Add a new crate to the workspace
add-crate *ARGS:
scripts/add-crate {{ARGS}}
Expand Down
10 changes: 4 additions & 6 deletions .repo.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# Changes here will be overwritten by Copier
_commit: v1.0.0
_commit: v1.2.0
_src_path: gh:claylo/claylo-rs
categories:
- command-line-utilities
- development-tools
copyright_name: Clay Loveless
copyright_year: '2026'
edition: '2024'
has_agents_md: true
has_agents_md: false
has_attestations: true
has_benchmarks: false
has_claude: true
Expand All @@ -25,14 +25,12 @@ has_inquire: false
has_issue_templates: true
has_jsonl_logging: true
has_mcp_server: true
has_md: true
has_md_strict: false
has_md: false
has_opentelemetry: false
has_pr_templates: true
has_releases: true
has_roadmap_votes: false
has_security_md: true
has_site: false
has_yamlfmt: false
has_yamllint: false
hook_system: none
Expand All @@ -42,7 +40,7 @@ license:
lint_level: strict
msrv: 1.89.0
owner: claylo
pinned_dev_toolchain: 1.94.0
pinned_dev_toolchain: 1.94.1
preset: standard
project_description: Quality gate tooling for building-in-the-open artifacts
project_name: bito
2 changes: 0 additions & 2 deletions .rustfmt.toml

This file was deleted.

16 changes: 8 additions & 8 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,11 +182,10 @@ This exposes seven tools: `analyze_writing`, `count_tokens`, `check_readability`

Drop a config file in your project and it takes effect automatically:

1. `.bito.toml` (or `.yaml`, `.json`) in the current directory or any parent
2. `bito.toml` (without dot prefix) in the current directory or any parent
3. `~/.config/bito/config.toml` (user-wide defaults)

For backward compatibility, `.bito-lint.*` config file names are also discovered.
1. `.config/bito.toml` (or `.yaml`, `.json`) in the current directory or any parent
2. `.bito.toml` in the current directory or any parent
3. `bito.toml` (without dot prefix) in the current directory or any parent
4. `~/.config/bito/config.toml` (user-wide defaults)

Closer files win. All formats (TOML, YAML, JSON) work interchangeably.

Expand Down
4 changes: 2 additions & 2 deletions THIRD-PARTY-NOTICES
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
Third-Party Notices
===================

bito-lint incorporates code from the following projects:
bito incorporates code from the following projects:


Rust_Grammar
------------
https://github.com/Eeman1113/rust_grammar

Portions of the grammar checking, passive voice detection, and dictionary
modules (crates/bito-lint-core/src/grammar/, crates/bito-lint-core/src/dictionaries/)
modules (crates/bito-core/src/grammar/, crates/bito-core/src/dictionaries/)
are adapted from Rust_Grammar.

MIT License
Expand Down
6 changes: 3 additions & 3 deletions config/bito.toml.example
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# bito Configuration (TOML format)
#
# Copy this file to one of the following locations:
# - .config/bito.toml (in your project directory)
# - .bito.toml (in your project directory)
# - bito.toml (in your project directory, without dot prefix)
# - ~/.config/bito/config.toml (user-wide config)
#
# For backward compatibility, .bito-lint.* names are also discovered.
#
# When multiple files exist in the same directory, all are merged.
# The first matching file wins; the search stops at the closest
# directory containing a match.
#
# Supported formats: TOML, YAML, JSON
# (use the appropriate extension: .toml, .yaml, .yml, .json)
Expand Down
6 changes: 3 additions & 3 deletions config/bito.yaml.example
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# bito Configuration (YAML format)
#
# Copy this file to one of the following locations:
# - .config/bito.yaml (in your project directory)
# - .bito.yaml (in your project directory)
# - bito.yaml (in your project directory, without dot prefix)
# - ~/.config/bito/config.yaml (user-wide config)
#
# For backward compatibility, .bito-lint.* names are also discovered.
#
# When multiple files exist in the same directory, all are merged.
# The first matching file wins; the search stops at the closest
# directory containing a match.
#
# Supported formats: TOML, YAML, JSON
# (use the appropriate extension: .toml, .yaml, .yml, .json)
Expand Down
Loading