Code Linter Pack

Trustedv1.0.0MITVerified88

by AgentNode · published 22 days ago · toolpack

Lint and format code across multiple languages.

Enforce coding standards with support for ESLint, Pylint, Ruff, Prettier, and Black. Auto-fix common issues and generate style reports.

langchaincrewaigeneric

Quick Start

bash
agentnode install code-linter-pack

Usage

From package
python
from code_linter_pack.tool import run

result = run(
    capability="lint_code",
    params={
        "path": "./src/utils/data_processing.py",
        "language": "python",
        "rules": ["ruff"],
        "fix": False
    }
)

print(f"Issues found: {result['issue_count']}")
print(f"Fixable: {result['fixable_count']}")
for issue in result["issues"][:5]:
    print(f"  Line {issue['line']}: [{issue['rule']}] {issue['message']}")

Verification

high confidence88/100✔ Verified
smokeReturned valid result
+25/25
testsAuto-generated tests only
+8/15
importAll tools imported successfully
+15/15
installInstalled in 2.0s
+15/15
contractAll contract checks passed
+10/10
warningsNo warnings
0/0
determinismOutput consistency check
+5/5
reliability3/3 runs passed
+10/10

Package installs and imports correctly. runtime checks passed.

install2.0s
import76ms
smoke121ms
tests918ms

This package was executed and validated by AgentNode before listing. Install, import, and runtime checks passed.

Python 3.12.3ffmpegpopplertesseractuv

Last verified 18d ago· Runner v2.0.0

Use this when you need to...

  • Lint Python files with ruff and flake8 rules
  • Format JavaScript code with Prettier standards
  • Check TypeScript files for type and style issues
  • Validate Go source with golint conventions
  • Run ESLint on a React component directory

README

Code Linter Pack

Lint and format code across multiple languages. Supports Python (ruff, flake8), JavaScript/TypeScript (ESLint, Prettier), Go (golint), and more — with auto-fix support.

Quick Start

agentnode install code-linter-pack
from code_linter_pack.tool import run

result = run(
    capability="lint_code",
    params={"path": "./src/main.py", "language": "python"}
)
print(f"{result['issue_count']} issues found")

Usage

Lint Python with ruff

result = run(
    capability="lint_code",
    params={
        "path": "./src/",
        "language": "python",
        "rules": ["ruff"],
        "fix": False
    }
)
for issue in result["issues"]:
    print(f"{issue['file']}:{issue['line']} {issue['message']}")

Auto-format JavaScript with ESLint and Prettier

result = run(
    capability="lint_code",
    params={
        "path": "./src/components/",
        "language": "javascript",
        "rules": ["eslint", "prettier"],
        "fix": True
    }
)
print(f"Fixed {result['fixed_count']} issues in {result['files_modified']} files")

Check TypeScript for type issues

result = run(
    capability="lint_code",
    params={
        "path": "./src/app.ts",
        "language": "typescript",
        "rules": ["eslint", "tsc-strict"]
    }
)

API Reference

CapabilityDescription
lint_codeLint and optionally auto-fix source code files

Parameters: path (required), language, rules, fix (boolean), config_path.

Supported languages: python, javascript, typescript, go, rust, java.

Returns: issues, issue_count, fixable_count, fixed_count, files_checked, files_modified.

Requirements

No environment variables required. The workspace source files must be readable.

License

MIT

Version History

Capabilities

code_lintinglint_codetool

Permissions

This package declares the following access levels. Review before installing.

Networknone
Filesystemworkspace_read
Code Executionlimited_subprocess
Data Accessinput_only
User Approvalnever
bash
agentnode install code-linter-pack

Files (3)

License

MIT

Stats

Downloads0
Installs0
Versionv1.0.0
Published3/16/2026
Channelstable
Typetoolpack
Entrypointcode_linter_pack.tool

Compatibility

Frameworks

langchaincrewaigeneric

Runtime

python

Python Version

>=3.10

Trust & Security

PublisherTrusted
SignatureNone
ProvenanceNone
Security Issues0

Publisher

A

AgentNode

@agentnode