Skip to content
This repository was archived by the owner on Jan 20, 2026. It is now read-only.

everydaydevopsio/opencode-typescript-linting-agent

Repository files navigation

@everydaydevops/opencode-typescript-linting

Archived: This repository has been archived at v1.0. Development has moved to https://github.com/everydaydevopsio/typescript-linting-agent for v2.0+ with support for Cursor and Claude.

npm version License: MIT

OpenCode agent for implementing TypeScript linting and code formatting following Everyday DevOps best practices.

About

This package provides an OpenCode subagent that automates the setup of TypeScript/JavaScript linting and formatting infrastructure in your projects. It follows the comprehensive guide from Everyday DevOps TypeScript Linting.

Prerequisites

This agent requires OpenCode to be installed:

npm install -g opencode-ai

Installation

Install the agent globally:

npm install -g @everydaydevops/opencode-typescript-linting

The postinstall script will automatically copy the agent configuration to ~/.config/opencode/agent/typescript-linting.md.

Install the agent just in a project:

npm install @everydaydevops/opencode-typescript-linting

The postinstall script will automatically copy the agent configuration to .opencode/agent/typescript-linting.md.

Usage

Once installed, the typescript-linting subagent is available in any OpenCode session.

Automatic Invocation

Primary OpenCode agents can automatically invoke this subagent for linting setup tasks.

Manual Invocation

You can directly invoke the agent using:

opencode

Then in the OpenCode session:

@typescript-linting help me set up linting for this project

What It Does

The agent will:

  • Install and configure ESLint with TypeScript support
  • Set up Prettier for code formatting
  • Configure Husky for Git hooks
  • Set up lint-staged for pre-commit checks
  • Create GitHub Actions workflow for CI linting
  • Add helpful npm scripts for linting and formatting

Learn More

For detailed information about the linting setup and best practices, visit:

License

MIT License - see LICENSE file for details.

Author

Mark C Allen (@markcallen)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •