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 lintCallbacks uses eslint-plugin-standard's standard/no-callback-literal rule to enforce error-first callbacks with a configurable allowlist of callback identifiers. Checks that default and custom callback names are linted correctly and that non-callback identifiers remain unaffected.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Plugin setup",
"description": "ESLint is configured to load eslint-plugin-standard and enable the standard/no-callback-literal rule when linting provided source text.",
"max_score": 25
},
{
"name": "Default callbacks",
"description": "Rule options include the default callback identifiers callback and cb so literal first arguments on them are reported while null, undefined, variables, or Error objects are allowed.",
"max_score": 20
},
{
"name": "Custom allowlist",
"description": "extraCallbackNames are merged or passed as the option array to standard/no-callback-literal so additional identifiers are treated as callbacks whose literal first arguments produce lint errors.",
"max_score": 25
},
{
"name": "Error argument handling",
"description": "Linting flags string/boolean/number literals in the error position but permits variables, Error instances, null, or undefined as the first callback argument in line with the rule's behavior.",
"max_score": 15
},
{
"name": "Non-callback immunity",
"description": "Identifiers not in the default or configured callback lists are not subjected to standard/no-callback-literal checks to avoid false positives.",
"max_score": 15
}
]
}