CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/npm-lilconfig

A zero-dependency alternative to cosmiconfig for loading configuration files

89

1.21x
Overview
Eval results
Files

rubric.jsonevals/scenario-5/

{
  "context": "This evaluation assesses how well the engineer uses the lilconfig package to demonstrate API compatibility with cosmiconfig, focusing on proper initialization of explorers, usage of search methods, and handling of result structures.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Lilconfig async explorer creation",
      "description": "Uses lilconfig() function to create an async explorer with the correct module name parameter",
      "max_score": 15
    },
    {
      "name": "Lilconfig sync explorer creation",
      "description": "Uses lilconfigSync() function to create a sync explorer with the correct module name parameter",
      "max_score": 15
    },
    {
      "name": "Async search method usage",
      "description": "Correctly calls the search() method on the lilconfig async explorer with optional searchFrom parameter and properly handles the returned Promise",
      "max_score": 20
    },
    {
      "name": "Sync search method usage",
      "description": "Correctly calls the search() method on the lilconfigSync sync explorer with optional searchFrom parameter and handles the synchronous return value",
      "max_score": 20
    },
    {
      "name": "Result structure handling",
      "description": "Properly accesses and compares the result object fields (filepath, config, isEmpty) from lilconfig search results, including handling of null results when no configuration is found",
      "max_score": 20
    },
    {
      "name": "Comparison implementation",
      "description": "Implements comparison logic that checks equivalence between lilconfig and cosmiconfig results, verifying both libraries return the same data structure and values",
      "max_score": 10
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/npm-lilconfig

tile.json