Registry / testing / uba-lint

uba-lint

JSON →
library0.0.5jsnpmunverified

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.

npm install uba-lint
INSTALL
IMPORT
SIG · UBA-LINT
U
uba-lint
testingjavascriptv0.0.5
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

bin/uba-lint
npx uba lint -t react src
uba-lint src
CLI command must be run via uba, not directly.

Install uba and uba-lint globally, then lint the src directory with React rules.

npm install -g uba uba-lint uba lint -t react src
uba --version
Debug
Known issues
gotchauba-lint is a plugin for uba and cannot be used standalone.
fix
Ensure uba is installed and available in PATH.
affects: >=0.0.0
gotchaOnly supports js and react presets; other -t values will likely error.
fix
Use -t js or -t react.
affects: >=0.0.0
Errors
Common errors & fixes
Command 'uba-lint' not found
Running uba-lint directly instead of as uba plugin
fix
Use: uba lint -t react src
Error: Cannot find module 'uba'
uba not installed
fix
Install uba globally: npm install -g uba
Upgrade
Version history
0.0.5latest on npm
Audit
Dependencies
ubarequiredrequired runtime dependency as a plugin for the Uba build tool
Agent activity
8 hits · last 30 days
node
8
Resources
uba-lint — npm install uba-lint · libregistry