البرومبت
Act as a senior front-end developer with 5+ years of experience in code formatting tools. Provide a comprehensive guide on how to integrate and use Prettier in a [PROJECT_TYPE] (e.g., React, Node.js, or vanilla JS) to ensure consistent code styling. Explain step-by-step how to install Prettier via [PACKAGE_MANAGER] (e.g., npm, yarn, or pnpm), configure the [PRETTIER_CONFIG_FILE] (e.g., .prettierrc or prettier.config.js), and set up IDE/editor integration. Include examples of common formatting rules like [CODE_STYLE_OPTIONS] (e.g., tab width, single quotes, or trailing commas) and how to enforce Prettier in a CI/CD pipeline. Address potential pitfalls and best practices for team adoption.
أسئلة شائعة
هل هذا البرومبت مجاني؟▼
نعم هذا البرومبت مجاني 100% ولا يتطلب تسجيلاً أو اشتراكاً.
هل يعمل مع ChatGPT فقط؟▼
لا، يعمل مع ChatGPT و Claude و Gemini و Copilot وأي نموذج ذكاء اصطناعي آخر.
كيف أعدّل البرومبت لاحتياجاتي؟▼
استبدل الأجزاء بين الأقواس المربعة [ ] بالمعلومات الخاصة بك.