open-index/open-npm huggingface dataset:
npm package: @round-core/lint
Description: ESLint processor for RoundJS files
Latest version: 0.1.1

# @round-core/lint

ESLint plugin for RoundJS. Enables linting for `.round` files using standard JavaScript parsers (espree).

## How it works

1.  **Preprocessing**: Transforms the `.round` file into valid JSX.
2.  **Global Injection**: Automatically detects loop variables (like `t` in `for(t in list)`) and injects `/* globals */` comments at the end of the file to prevent "undefined variable" errors.
3.  **Component Tracking**: Identifies JSX-style component usage within RoundJS blocks and ensures ESLint doesn't mark them as unused variables.
4.  **1:1 Mapping**: Using the `SourceMapper`, ESLint reported errors are translated back to the original `.round` file lines and columns, ensuring perfectly aligned highlights in VS Code.

## Configuration

Recommended usage is via the `eslint.config.js` generated by the RoundJS CLI.