@sun-asterisk/sunlint
Version:
โ๏ธ SunLint - Multi-language static analysis tool for code quality and security | Sun* Engineering Standards
61 lines (48 loc) โข 2.45 kB
Markdown
# SunLint Project Structure
## ๐ **Organized Directory Structure**
```
sunlint/
โโโ ๐ README.md # Main documentation (490 lines, focused)
โโโ ๐ CHANGELOG.md # Version history (concise)
โโโ ๐ cli.js # Main CLI entry point
โโโ โ๏ธ config/ # Configuration presets & schemas
โโโ ๐ง core/ # Core services & engines
โโโ ๐ docs/ # Detailed documentation
โโโ ๐ integrations/ # External tool integrations
โ โโโ eslint/ # ESLint plugin & configurations
โโโ ๐ examples/ # Configuration examples & workflows
โโโ ๐งช test/ # Test projects & fixtures
โโโ ๐ฆ release/ # Release artifacts
โโโ ๐ฏ rules/ # SunLint rule implementations
โโโ ๐ ๏ธ scripts/ # Build & deployment scripts
```
## ๐ฏ **Key Changes Made**
### โ
**Files Removed**
- `CLI_STRUCTURE.md` - Temporary documentation (unnecessary)
### โ
**Structure Reorganized**
- **examples/** - Now pure configuration examples & CI/CD workflows
- **test/** - All test projects consolidated here
- `sunlint-test-project/` - ESLint v9 integration test
- `conflict-test-project/` - ESLint v8 legacy test
- `examples/integration-project/` - Integration example
- `fixtures/` - Unit test files
- **project-test/** - Real projects (gitignored, separate from test suite)
### โ
**Documentation Updated**
- **README.md** - Streamlined from 650 โ 490 lines (25% reduction)
- **CHANGELOG.md** - Security rules section condensed
- **test/README.md** - Test project documentation
- **examples/README.md** - Configuration examples guide
## ๐ **Benefits**
1. **Clear Separation**: Examples vs Tests vs Real Projects
2. **Reduced Duplication**: Single source of truth for each purpose
3. **Better Documentation**: Focused README + detailed CHANGELOG
4. **Cleaner Repository**: No redundant files, proper gitignore
5. **Developer Friendly**: Clear structure for contributors
## ๐ **Quick Navigation**
- **Getting Started**: `README.md`
- **Version History**: `CHANGELOG.md`
- **Configuration Help**: `examples/`
- **Testing**: `test/`
- **Development**: `docs/ARCHITECTURE.md`
---
**Structure optimized for both users and contributors! ๐**