CtrlK
CommunityDocumentationLog inGet started
Tessl Logo

tessl/npm-eslint-plugin-standard

ESLint plugin providing custom rules for JavaScript Standard Style linting

Overall
score

36%

Evaluation36%

0.58x

Agent success when using this tile

Overview
Eval results
Files

task.mdevals/scenario-6/

Even Spacing Lint Helper

Build a lint helper that uses the target spacing plugin to ensure even spacing around braces and brackets in destructuring patterns, named import/export specifiers, and computed property definitions. Spacing is considered correct when the opening and closing tokens on the same line have matching whitespace (either none or a single space).

Capabilities

Checks destructuring spacing

  • A source snippet with evenly spaced object and array destructuring passes without lint errors @test
  • A source snippet with extra spacing after an opening brace in object destructuring reports a spacing violation @test

Checks import/export specifier spacing

  • Named import and export lists with symmetric spacing pass without lint errors @test
  • A named import list with mismatched spacing around braces reports a spacing violation @test

Checks computed property spacing

  • A class with a computed property defined using matching bracket spacing passes without lint errors @test
  • A computed property definition with uneven bracket spacing reports a spacing violation @test

Implementation

@generates

API

/**
 * Lints the provided source text, enforcing even spacing around braces/brackets
 * in destructuring patterns, named import/export specifiers, and computed property definitions.
 * Returns an object with an ok flag and a list of human-readable lint error messages.
 */
async function lintSpacing(sourceText) {}

Dependencies { .dependencies }

Spacing lint rules { .dependency }

Provides linting rules for even spacing around braces/brackets in destructuring, import/export specifiers, and computed property definitions. @satisfied-by

Install with Tessl CLI

npx tessl i tessl/npm-eslint-plugin-standard@5.0.0
What are skills?

tile.json