Linter

From caido-community/shift · View interactive version

Linter is an AI agent skill from the GitHub repository caido-community/shift. Linter Guidelines

How to use this skill

Skill file

Linter

We have a built-in ESLint linter configured at the root folder.

After making any significant change, always run the validation tests with mise run validate and fix all potential issues.

Most common mistakes that lead to linter errors

Lint Rule: Unexpected nullable string value in conditional. Please handle nullish or empty cases explicitly

To prevent this, when comparing strings, instead of writing:

if (!str) {}

do this:

if (str !== undefined) {}
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.