uba-lint
raw JSON → 0.0.5 verified Fri May 01 auth: no javascript
uba-lint is a linting plugin for the Uba build tool, version 0.0.5. It provides code linting for JavaScript and React projects using a simple CLI command `uba lint`. The tool allows specifying a target rule set (`-t js` or `-t react`) and multiple directories to lint. This release is early-stage with no further updates, designed specifically as a plugin within the Uba ecosystem, not a standalone linter.
Common errors
error Command 'uba-lint' not found ↓
cause Running uba-lint directly instead of as uba plugin
fix
Use: uba lint -t react src
error Error: Cannot find module 'uba' ↓
cause uba not installed
fix
Install uba globally: npm install -g uba
Warnings
gotcha uba-lint is a plugin for uba and cannot be used standalone. ↓
fix Ensure uba is installed and available in PATH.
gotcha Only supports js and react presets; other -t values will likely error. ↓
fix Use -t js or -t react.
Install
npm install uba-lint yarn add uba-lint pnpm add uba-lint Imports
- bin/uba-lint wrong
uba-lint srccorrectnpx uba lint -t react src
Quickstart
npm install -g uba uba-lint
uba lint -t react src