CtrlK
CommunityDocumentationLog inGet started
Tessl Logo

tessl/npm-eslint-config-node

tessl install tessl/npm-eslint-config-node@3.0.0

Pluggable ESLint configuration for Node.js that extends ESNext with Node.js-specific safety checks and best practices

Agent Success

Agent success rate when using this tile

73%

Improvement

Agent success rate improvement when using this tile compared to baseline

1.12x

Baseline

Agent success rate without this tile

65%

rubric.jsonevals/scenario-2/

{
  "context": "This criteria evaluates how well the engineer follows React component and event handler naming conventions, particularly those enforced by ESLint configurations like react/jsx-handler-names, react/jsx-no-bind, and react/jsx-pascal-case.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Component naming",
      "description": "The component is named using PascalCase (e.g., ToggleButton, not toggleButton or toggle_button). This follows the react/jsx-pascal-case rule.",
      "max_score": 15
    },
    {
      "name": "Event handler prop naming",
      "description": "Event handler props follow the 'on*' naming pattern (e.g., onStateChange, onClick, onToggle). This follows the react/jsx-handler-names rule for callback prop naming.",
      "max_score": 20
    },
    {
      "name": "Event handler method naming",
      "description": "Internal event handler methods follow the 'handle*' naming pattern (e.g., handleClick, handleToggle). This follows the react/jsx-handler-names rule for handler function naming.",
      "max_score": 20
    },
    {
      "name": "No .bind() in JSX",
      "description": "The implementation does not use .bind() in JSX props (e.g., avoids onClick={this.handleClick.bind(this)}). This follows the react/jsx-no-bind rule which prevents performance issues.",
      "max_score": 15
    },
    {
      "name": "No arrow functions in JSX",
      "description": "The implementation does not use arrow functions directly in JSX props (e.g., avoids onClick={() => handleClick()}). This follows the react/jsx-no-bind rule which prevents unnecessary re-renders.",
      "max_score": 15
    },
    {
      "name": "React hooks usage",
      "description": "Uses React.useState hook correctly to manage internal state (active/inactive toggle), demonstrating proper functional component patterns.",
      "max_score": 15
    }
  ]
}

Version

Workspace
tessl
Visibility
Public
Created
Last updated
Describes
npmpkg:npm/eslint-config-node@3.0.x
tile.json