ESLint plugin providing custom rules for JavaScript Standard Style linting
Overall
score
36%
Evaluation — 36%
↓ 0.58xAgent success when using this tile
A linting setup that ensures array literals, destructuring patterns, and computed member expressions use symmetrical spacing inside brackets.
[1, 2], [1], and items[index] reports no spacing errors when spacing around each bracket pair matches (zero or one space). @test[1,2 ] or [ 1,2] reports spacing violations for each bracket pair that mixes spacing. @testconst grid = [ [1,2], [3, 4] ]; reports spacing errors for nested arrays that do not keep matching spacing around inner brackets. @test@generates
export interface LintMessage {
filePath: string;
ruleId: string;
line: number;
column: number;
message: string;
}
export async function lintArraySpacing(paths: string[]): Promise<{
errorCount: number;
warningCount: number;
messages: LintMessage[];
}>;Provides the lint engine.
Supplies the spacing rule required for array brackets.