Basic information

Repository
RediSearch
Skill
lint

About lint

Check code quality and formatting before committing changes

lint is an agent skill listed in the AddMCP.net directory, published by RediSearch. Runtime: Rust. The repository has 6,247 GitHub stars. Source code is hosted on github.com. Related topics: fulltext, geospatial, gis, inverted-index, redis.

Overview

What is lint?


name: lint description: Check code quality and formatting before committing changes. Use this to verify your changes meet our coding standards.


Lint Skill

Check code quality and formatting before committing changes.

Usage

Run this skill to check for lint errors and formatting issues.

Instructions

  1. Run the lint check:
   make lint
  1. If clippy reports warnings or errors, fix them before proceeding
  1. Check formatting:
   make fmt CHECK=1
  1. If formatting check fails, apply formatting:
   make fmt
  1. If license headers are missing, add them:
   cd src/redisearch_rs && cargo license-fix

Common Clippy Fixes

  • Document unsafe blocks: Add // SAFETY: comment explaining why the unsafe code is sound
  • Use #[expect(...)]: Prefer over #[allow(...)] for lint suppressions

Rust-Specific Checks

For Rust-only linting:

cd src/redisearch_rs && cargo clippy --all-targets --all-features

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬