ACBS Tree Lint
raw JSON → 1.0.8 verified Fri May 01 auth: no javascript
A linting tool for the AOSC OS package tree (aosc-os-abbs). Version 1.0.8, actively developed (WIP). Provides linters for checking packaging specifications, such as variable order, dependency, conflict, and deprecation. Designed specifically for AOSC/ACBS ecosystem, not a general-purpose linter. Usable as a CLI tool via global npm installation.
Common errors
error Error: Cannot find module 'acbs-tree-lint' ↓
cause Package not installed globally or path issue.
fix
Run 'npm install -g acbs-tree-lint' and ensure npm global bin directory is in PATH.
error Error: Not in aosc-os-abbs directory ↓
cause Current working directory is not the root of the aosc-os-abbs repository.
fix
Change directory to the cloned repo root.
Warnings
gotcha Tool is WIP: only one linter (spec) is available currently. ↓
fix Check documentation for new linters in future versions.
gotcha Requires running inside the aosc-os-abbs repository directory. ↓
fix Clone the repo and change into its directory before running the linter.
Install
npm install acbs-tree-lint yarn add acbs-tree-lint pnpm add acbs-tree-lint Quickstart
npm install -g acbs-tree-lint
cd /path/to/aosc-os-abbs
acbs-tree-lint spec