CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/npm-eslint-config-node

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

73

1.12x
Overview
Eval results
Files

rubric.jsonevals/scenario-5/

{
  "context": "This criteria evaluates how well the engineer configures ESLint's import/extensions rule from eslint-plugin-import to validate file extensions in import statements according to the specified requirements.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "import/extensions rule usage",
      "description": "The configuration file includes the 'import/extensions' rule from eslint-plugin-import",
      "max_score": 25
    },
    {
      "name": "Error severity level",
      "description": "The import/extensions rule is configured with error severity level (not warning or off)",
      "max_score": 10
    },
    {
      "name": "Always require extensions",
      "description": "The rule is configured to 'always' require file extensions for relative imports (not 'never' or 'ignorePackages')",
      "max_score": 20
    },
    {
      "name": "ignorePackages option",
      "description": "The rule configuration includes the 'ignorePackages' option set to true to allow package imports without extensions",
      "max_score": 20
    },
    {
      "name": "eslint-plugin-import integration",
      "description": "The ESLint configuration properly integrates eslint-plugin-import (via extends or plugins)",
      "max_score": 15
    },
    {
      "name": "Configuration file format",
      "description": "The .eslintrc.json file has valid JSON syntax and proper ESLint configuration structure",
      "max_score": 10
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/npm-eslint-config-node

tile.json