本文へスキップ
Skillpedia
一般的なプログラミング75k · #2901

javascript-linter

できること

このスキルは、JavaScriptコードのエラーやスタイルの問題を確認するリンターを設定して使います。安定して安全なコードを書きたい開発者向けです。

使う場面

  • ✓チーム内でファイルごとにコードの書き方が違うとき。
  • ✓コードレビューをすり抜けたバグがテストの段階で見つかるとき。
  • ✓新しいJavaScriptプロジェクトを始めて、最初からチェックを入れたいとき。

スキルのリンク

https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/javascript-linter/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/javascript-linter/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“私のプロジェクトにESLintを設定して、見つかった警告を修正してください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

エージェントは、共有のルールセットを使ってリンターを設定し、エディターに接続して、ビルドの工程に追加します。その後、報告されたエラーと警告を順に直していきます。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

Lint JavaScript code

Linting catches bugs before runtime, enforces team coding standards, and prevents common mistakes that slip through code review.

Quick Reference

  • Set up ESLint with pnpm dlx eslint --init
  • Use shared configs (eslint:recommended, @typescript-eslint)
  • Integrate with your editor for real-time feedback
  • Add lint checks to CI/CD pipeline

Check

Set up JavaScript linting tools like ESLint to automatically detect syntax errors, enforce coding standards, and maintain consistent code quality across the team.

Fix

Configure ESLint with appropriate rules and plugins, integrate it into your development workflow, and fix all linting errors and warnings.

Explain

Explain how JavaScript linting prevents bugs, enforces consistent coding standards, improves code readability, and catches potential issues before runtime.

Code Review

Review scripts, client components, and browser execution paths related to Lint JavaScript code. Flag exact imports, event handlers, runtime side effects, or blocking operations that violate the rule, and state how the change should be verified in the browser.


For full implementation details, code examples, and framework-specific guidance, see references/rule.md.

Rule page: https://frontendchecklist.io/rules/javascript/javascript-linter

よくある質問

ESLintとは何ですか?

JavaScriptコードを読み取り、バグの可能性やスタイルの問題を報告するツールです。

どの設定が挙げられていますか?

このスキルは、ESLintの推奨ルールとTypeScript ESLintのルールに触れています。

リントはCIで実行すべきですか?

このスキルは、リントのチェックをCIとデプロイのパイプラインに追加することを勧めています。

詳細

作者による元の説明

Use when reviewing scripts, client components, bundles, or runtime behavior related to Lint JavaScript code. Inspect both source code and the browser execution path so fixes target the real bottleneck or bug.

repo: thedaviddias/Front-End-Checklist

人気

GitHubのスター
75k
ランキング
#2901
ライセンス
MIT
更新日
2026/10/31

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル