D2rlint banner
eezstreet eezstreet

D2rlint

Development community

Description

Checking your Diablo II: Resurrected mod files for errors since 2022

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

D2RLint (d2rlint)

Taking cues from projects such as [eslint](https://eslint.org/), D2RLint will examine the tab-delimited spreadsheet ("Excel") files and JSON string tables for Diablo II: Resurrected, and make note of any errors. Designed to be the direct successor of Paul Siramy's fantastic D2TxtAnalyzer, this tool checks for many more problems and is designed to work with Diablo II: Resurrected. It is still partially backwards-compatible with the legacy version of the game.

This tool also provides two more features:

  • Automatic mod documentation. Once enabled in the configuration file, d2rlint will generate HTML documentation for your mod. This includes information about Horadric Cube recipes, runewords, sets, and more.
  • Other helpful utilities. There are a number of different commands that you can execute in the commandline to make your life a little bit easier.

For users

On first use, the executable will first print a message telling you that it wrote a config file:

d2rlint didn't start, because the configuration file was missing. One has been generated for you.
Please edit the configuration file (config.json) to set your workspace location.
By default, this will look in the current working directory.
Press enter to continue.

You will find that it has produced a `config.json` file:

{
  "workspace": "",
  "fallback": "",
  "version": "3.0",
  "log": "output.txt",
  "logAppend": false,
  "outputFormat": "tsv",
  "iveConsideredDonating": false,
  "rules": {
    "Basic/NoDuplicateExcel": {
      "action": "warn"
    },
    "Basic/LinkedExcel": {
      "action": "warn"
    },
    "Basic/NumericBounds": {
      "action": "warn"
    },
    "Cube/ValidInputs": {
      "action": "warn"
    },
    "Cube/ValidOutputs": {
      "action": "warn"
    },
    "Cube/ValidOp": {
      "action": "warn"
    },
    "Level/ValidWarp": {
      "action": "warn"
    },
    "Level/ValidWPs": {
      "action": "warn"
    },
    "String/NoUntrans