This repository contains shared linting, formatting, and CI rules for all AiWA projects. It ensures consistent, clean, and accessible code across all AIWA tools and plugins.
eslint/
- JavaScript linting rulesstylelint/
- CSS linting rules (prefix:aiwa_
)htmlhint/
- HTML semantic & accessibility rulesphp/
- WordPress PHP Coding Standards config via Composervscode/
- Optional VS Code settings for instant linting.github/workflows/
- Reusable GitHub Actions for CI lint checks
git submodule add https://github.com/aiwa-org/aiwa-code-quality .aiwa-code-quality
.eslintrc.json
{ "extends": "./.aiwa-code-quality/eslint/.eslintrc.json" }
.stylelintrc.json
{ "extends": "./.aiwa-code-quality/stylelint/.stylelintrc.json" }
.htmlhintrc
cp .aiwa-code-quality/htmlhint/.htmlhintrc .
curl -o .github/workflows/code-quality.yml https://raw.githubusercontent.com/aiwa-org/aiwa-code-quality/main/.github/workflows/code-quality.yml
© 2025 AiWA. Shared under LicenseRef-AiWA-Proprietary. For internal ecosystem use only.