[{"data":1,"prerenderedAt":299},["ShallowReactive",2],{"navigation_docs":3,"-frontend-js":190,"-frontend-js-surround":294},[4,136,150,183],{"title":5,"path":6,"stem":7,"children":8},"Frontend","\u002Ffrontend","1.frontend",[9,13,39,76,109,130],{"title":10,"path":6,"stem":11,"order":12},"フロントエンド ガイドライン","1.frontend\u002Findex",1,{"title":14,"path":15,"stem":16,"children":17},"HTML","\u002Ffrontend\u002Fhtml","1.frontend\u002F1.html\u002Findex",[18,19,23,27,31,35],{"title":14,"path":15,"stem":16},{"title":20,"path":21,"stem":22},"コードスタイル","\u002Ffrontend\u002Fhtml\u002Fcode-style","1.frontend\u002F1.html\u002Fcode-style",{"title":24,"path":25,"stem":26},"見出しタグ","\u002Ffrontend\u002Fhtml\u002Fheading","1.frontend\u002F1.html\u002Fheading",{"title":28,"path":29,"stem":30},"img タグ","\u002Ffrontend\u002Fhtml\u002Fimg","1.frontend\u002F1.html\u002Fimg",{"title":32,"path":33,"stem":34},"パスとリンク","\u002Ffrontend\u002Fhtml\u002Flink","1.frontend\u002F1.html\u002Flink",{"title":36,"path":37,"stem":38},"品質管理","\u002Ffrontend\u002Fhtml\u002Fquality","1.frontend\u002F1.html\u002Fquality",{"title":40,"path":41,"stem":42,"children":43},"CSS","\u002Ffrontend\u002Fcss","1.frontend\u002F2.css\u002Findex",[44,45,49,52,56,60,64,68,72],{"title":40,"path":41,"stem":42},{"title":46,"path":47,"stem":48},"命名規則・コンポーネント設計","\u002Ffrontend\u002Fcss\u002Farchitecture","1.frontend\u002F2.css\u002Farchitecture",{"title":20,"path":50,"stem":51},"\u002Ffrontend\u002Fcss\u002Fcode-style","1.frontend\u002F2.css\u002Fcode-style",{"title":53,"path":54,"stem":55},"Web フォント","\u002Ffrontend\u002Fcss\u002Ffonts","1.frontend\u002F2.css\u002Ffonts",{"title":57,"path":58,"stem":59},"記述順番","\u002Ffrontend\u002Fcss\u002Forder","1.frontend\u002F2.css\u002Forder",{"title":61,"path":62,"stem":63},"プロパティのルール","\u002Ffrontend\u002Fcss\u002Fproperties","1.frontend\u002F2.css\u002Fproperties",{"title":65,"path":66,"stem":67},"Tailwind CSS","\u002Ffrontend\u002Fcss\u002Ftailwind","1.frontend\u002F2.css\u002Ftailwind",{"title":69,"path":70,"stem":71},"値のルール","\u002Ffrontend\u002Fcss\u002Fvalues","1.frontend\u002F2.css\u002Fvalues",{"title":73,"path":74,"stem":75},"CSS 変数（カスタムプロパティ）","\u002Ffrontend\u002Fcss\u002Fvariables","1.frontend\u002F2.css\u002Fvariables",{"title":77,"path":78,"stem":79,"children":80},"JavaScript","\u002Ffrontend\u002Fjs","1.frontend\u002F3.js\u002Findex",[81,82,85,89,93,97,101,105],{"title":77,"path":78,"stem":79},{"title":20,"path":83,"stem":84},"\u002Ffrontend\u002Fjs\u002Fcode-style","1.frontend\u002F3.js\u002Fcode-style",{"title":86,"path":87,"stem":88},"エラーハンドリング","\u002Ffrontend\u002Fjs\u002Ferror-handling","1.frontend\u002F3.js\u002Ferror-handling",{"title":90,"path":91,"stem":92},"ライブラリの利用","\u002Ffrontend\u002Fjs\u002Flibraries","1.frontend\u002F3.js\u002Flibraries",{"title":94,"path":95,"stem":96},"HTML への読み込み","\u002Ffrontend\u002Fjs\u002Floading","1.frontend\u002F3.js\u002Floading",{"title":98,"path":99,"stem":100},"モジュール","\u002Ffrontend\u002Fjs\u002Fmodule-structure","1.frontend\u002F3.js\u002Fmodule-structure",{"title":102,"path":103,"stem":104},"命名規則","\u002Ffrontend\u002Fjs\u002Fnaming","1.frontend\u002F3.js\u002Fnaming",{"title":106,"path":107,"stem":108},"パフォーマンス最適化","\u002Ffrontend\u002Fjs\u002Fperformance","1.frontend\u002F3.js\u002Fperformance",{"title":110,"path":111,"stem":112,"children":113},"画像・メディアリソースガイドライン","\u002Ffrontend\u002Fmedia","1.frontend\u002F4.media\u002Findex",[114,115,119,123,127],{"title":110,"path":111,"stem":112},{"title":116,"path":117,"stem":118},"アクセシビリティ","\u002Ffrontend\u002Fmedia\u002Faccessibility","1.frontend\u002F4.media\u002Faccessibility",{"title":120,"path":121,"stem":122},"画像フォーマット","\u002Ffrontend\u002Fmedia\u002Fformats","1.frontend\u002F4.media\u002Fformats",{"title":124,"path":125,"stem":126},"ファイル命名規則","\u002Ffrontend\u002Fmedia\u002Fnaming","1.frontend\u002F4.media\u002Fnaming",{"title":106,"path":128,"stem":129},"\u002Ffrontend\u002Fmedia\u002Foptimization","1.frontend\u002F4.media\u002Foptimization",{"title":131,"path":132,"stem":133,"children":134},"開発環境テンプレート","\u002Ffrontend\u002Fenvironment","1.frontend\u002F5.environment\u002Findex",[135],{"title":131,"path":132,"stem":133},{"title":137,"path":138,"stem":139,"children":140,"page":149},"Deploy Release","\u002Fdeploy-release","2.deploy-release",[141,145],{"title":142,"path":143,"stem":144},"デプロイ","\u002Fdeploy-release\u002Fdeploy","2.deploy-release\u002Fdeploy",{"title":146,"path":147,"stem":148},"リリース","\u002Fdeploy-release\u002Frelease","2.deploy-release\u002Frelease",false,{"title":151,"path":152,"stem":153,"children":154},"Git","\u002Fgit","3.git",[155,159,163,167,171,175,179],{"title":156,"path":152,"stem":157,"order":158},"Git ガイドライン","3.git\u002Findex",3,{"title":160,"path":161,"stem":162},"ブランチ戦略","\u002Fgit\u002Fbranch","3.git\u002Fbranch",{"title":164,"path":165,"stem":166},"CI\u002FCD運用","\u002Fgit\u002Fcicd","3.git\u002Fcicd",{"title":168,"path":169,"stem":170},"コミットメッセージとタグ","\u002Fgit\u002Fmessage","3.git\u002Fmessage",{"title":172,"path":173,"stem":174},"Pull Request運用","\u002Fgit\u002Fpull-request","3.git\u002Fpull-request",{"title":176,"path":177,"stem":178},"リポジトリ運用","\u002Fgit\u002Frepository","3.git\u002Frepository",{"title":180,"path":181,"stem":182},"GitHub権限・セキュリティ","\u002Fgit\u002Fsecurity","3.git\u002Fsecurity",{"title":184,"path":185,"stem":186,"children":187,"order":189},"AI 利用ガイドライン","\u002Fai","4.ai\u002Findex",[188],{"title":184,"path":185,"stem":186,"order":189},4,{"id":191,"title":77,"body":192,"description":287,"extension":288,"links":289,"meta":290,"navigation":291,"path":78,"seo":292,"stem":79,"__hash__":293},"docs\u002F1.frontend\u002F3.js\u002Findex.md",{"type":193,"value":194,"toc":281},"minimark",[195,199,203,232,235],[196,197,198],"h2",{"id":198},"ガイドラインの目的",[200,201,202],"p",{},"JavaScript ガイドラインは、次の 3 つを主な目的として規定しています。",[204,205,206,217,224],"ul",{},[207,208,209,213,216],"li",{},[210,211,212],"strong",{},"品質とメンテナンス性",[214,215],"br",{},"\n読みやすく保守しやすいコードの作成、バグの発生を未然に防ぐコーディング規約、チーム開発における一貫したコードスタイルを目指します。",[207,218,219,221,223],{},[210,220,106],{},[214,222],{},"\n効率的な JavaScript コードの記述、適切なライブラリ・モジュールの選択と利用、ランタイムパフォーマンスの向上を重視しています。",[207,225,226,229,231],{},[210,227,228],{},"モダンな開発手法",[214,230],{},"\nES6+の機能を活用した現代的な書き方、適切なモジュール管理とバンドリング、開発効率を向上させるツールチェーンの活用を目的としています。",[196,233,234],{"id":234},"基本ルール",[204,236,237,248,259,270],{},[207,238,239,242,244,245,247],{},[210,240,241],{},"ES6+の積極的な活用",[214,243],{},"\nlet、const、アロー関数、分割代入、テンプレートリテラルなど、モダンな JavaScript 構文と API を積極的に使用します。",[214,246],{},"\nvar の使用は禁止し、より安全で予測可能なコードを記述します。",[207,249,250,253,255,256,258],{},[210,251,252],{},"外部 JavaScript ファイルで処理を行う",[214,254],{},"\nインタラクションや動的な処理は、外部 JavaScript ファイルで実装します。",[214,257],{},"\nHTML 内に直接スクリプトを書くことは避けてください。",[207,260,261,264,266,267,269],{},[210,262,263],{},"エラーハンドリングの実装",[214,265],{},"\n非同期処理や外部 API 呼び出しには適切なエラーハンドリングを実装します。",[214,268],{},"\ntry-catch 文や Promise の catch メソッドを活用してください。",[207,271,272,275,277,278,280],{},[210,273,274],{},"意味のある変数名・関数名を使用する",[214,276],{},"\n変数や関数には、その役割や機能が分かりやすい名前を付けます。",[214,279],{},"\nx、data、temp などの意味不明な名前は避けてください。",{"title":282,"searchDepth":283,"depth":283,"links":284},"",2,[285,286],{"id":198,"depth":283,"text":198},{"id":234,"depth":283,"text":234},"品質とメンテナンス性、パフォーマンス最適化、モダンな開発手法を目的としたJavaScriptガイドライン","md",null,{},true,{"title":77,"description":287},"2ME5RL7TEZh1FSnrot7XILDuKhVCvdBJmflcVJNYjL8",[295,297],{"title":73,"path":74,"stem":75,"description":296,"children":-1},"CSS変数（カスタムプロパティ）の定義・命名・テーマ切り替えパターン",{"title":20,"path":83,"stem":84,"description":298,"children":-1},"Prettier、EditorConfig、ESLintによる自動フォーマット設定",1780099578786]