ESLint plugin providing custom rules for JavaScript Standard Style linting
Overall
score
36%
Evaluation — 36%
↓ 0.58xAgent success when using this tile
{
"context": "Evaluates whether the solution uses eslint-plugin-standard to enforce symmetrical spacing inside array brackets through ESLint configuration and execution. Scoring checks that the array-bracket-even-spacing rule is configured with the correct mode, applied across relevant syntax forms, and reported back via the provided lint helper.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Plugin registered",
"description": "eslint-plugin-standard is added to the ESLint configuration so its rules, including array-bracket-even-spacing, are available.",
"max_score": 20
},
{
"name": "Rule enabled",
"description": "array-bracket-even-spacing is enabled with severity that fails linting and configured to require matching (0-or-1) spacing on both sides of array brackets using the rule's either/even spacing option.",
"max_score": 30
},
{
"name": "Contexts covered",
"description": "Rule configuration applies to array literals, array destructuring patterns, and computed/bracketed member expressions without exceptions that bypass these cases.",
"max_score": 20
},
{
"name": "ESLint execution",
"description": "Lint helper invokes ESLint's Node API with the custom configuration (plugins, rules, and parser options as needed) to analyze provided paths rather than custom parsing.",
"max_score": 15
},
{
"name": "Reports rule diagnostics",
"description": "Helper returns diagnostics that include array-bracket-even-spacing messages with accurate file path, line, column, and counts reflecting ESLint results.",
"max_score": 15
}
]
}