{
  "definitions": [
    {
      "callable": true,
      "callees": [
        {
          "file": "core/selectors/record.selector.ts",
          "name": "recordAt",
          "source": {
            "href": "https://banes-lab.com/anatomy/quality#file-quality-core-selectors-record-selector-ts",
            "json": "https://banes-lab.com/json/source/quality/core/selectors/record.selector.ts",
            "label": "core/selectors/record.selector.ts",
            "markdown": "https://banes-lab.com/source/quality/core/selectors/record.selector.ts.md",
            "ref": "anatomy:file-quality-core-selectors-record-selector-ts"
          }
        }
      ],
      "callers": [],
      "exported": false,
      "flow": "entry",
      "kind": "lexical_declaration",
      "line": 25,
      "name": "rulesOf",
      "signature": "const rulesOf = function rulesOf(loaded: unknown): Record<string, unknown> {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 6,
      "name": "STYLELINT_MODULE",
      "signature": "const STYLELINT_MODULE = \"stylelint\";"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 7,
      "name": "STYLELINT_MANIFEST",
      "signature": "const STYLELINT_MANIFEST = \"stylelint/package.json\";"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 8,
      "name": "RULE_DOCS",
      "signature": "const RULE_DOCS = \"https://stylelint.io/user-guide/rules\";"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 9,
      "name": "AVOID_CATEGORY",
      "signature": "const AVOID_CATEGORY = \"avoid\";"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 10,
      "name": "OTHER_CATEGORY",
      "signature": "const OTHER_CATEGORY = \"other\";"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 12,
      "name": "PREFIX_CATEGORY",
      "signature": "const PREFIX_CATEGORY: readonly [string, string][] = ["
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 29,
      "name": "fallback",
      "signature": "const fallback = loaded[\"default\"];"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 33,
      "name": "categoryOf",
      "signature": "const categoryOf = function categoryOf(name: string): string {"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 40,
      "name": "produce",
      "signature": "const produce = async function produce(): Promise<CatalogProduct[]> {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 41,
      "name": "manifest",
      "signature": "const manifest: unknown = await import(STYLELINT_MANIFEST, { with: { type: \"json\" } });"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 42,
      "name": "version",
      "signature": "const version ="
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 46,
      "name": "rules",
      "signature": "const rules = Object.keys(rulesOf(await import(STYLELINT_MODULE)))"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 59,
      "name": "byCategory",
      "signature": "const byCategory: Record<string, number> = {};"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 61,
      "name": "category",
      "signature": "const category = String(rule[\"category\"]);"
    }
  ],
  "document": null,
  "findings": [],
  "generated": false,
  "href": "https://banes-lab.com/anatomy/quality#file-quality-core-producers-stylelint-producer-ts",
  "language": "typescript",
  "layer": "application",
  "name": "stylelint.producer.ts",
  "path": "core/producers/stylelint.producer.ts",
  "ref": "anatomy:file-quality-core-producers-stylelint-producer-ts",
  "relations": [
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/quality#folder-quality-core-producers",
          "json": "https://banes-lab.com/json/anatomy/quality/folder-quality-core-producers",
          "label": "core/producers",
          "markdown": "https://banes-lab.com/anatomy/quality/folder-quality-core-producers.md",
          "ref": "chapter:/anatomy/quality#folder-quality-core-producers"
        }
      ],
      "relation": "contained-in"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/quality#file-quality-core-selectors-record-selector-ts",
          "json": "https://banes-lab.com/json/source/quality/core/selectors/record.selector.ts",
          "label": "core/selectors/record.selector.ts",
          "markdown": "https://banes-lab.com/source/quality/core/selectors/record.selector.ts.md",
          "ref": "anatomy:file-quality-core-selectors-record-selector-ts"
        }
      ],
      "relation": "uses"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/quality#folder-quality-core-selectors",
          "json": "https://banes-lab.com/json/anatomy/quality/folder-quality-core-selectors",
          "label": "core/selectors",
          "markdown": "https://banes-lab.com/anatomy/quality/folder-quality-core-selectors.md",
          "ref": "chapter:/anatomy/quality#folder-quality-core-selectors"
        }
      ],
      "relation": "linked-from"
    }
  ],
  "slots": {
    "concern": "producer",
    "subject": "stylelint",
    "variant": null
  },
  "stats": {
    "bytes": 2615,
    "callable": 3,
    "definitions": 15,
    "edges": 1,
    "exported": 0,
    "files": 1,
    "findings": {},
    "flows": {
      "entry": 1,
      "isolated": 14
    },
    "lines": {
      "blank": 6,
      "code": 67,
      "total": 73
    }
  },
  "summary": "67 lines of code and 15 definitions.",
  "text": "https://banes-lab.com/source/quality/core/producers/stylelint.producer.ts.txt",
  "tree": "quality",
  "siblings": {
    "next": {
      "href": "https://banes-lab.com/anatomy/quality#file-quality-core-producers-tool-bandit-producer-ts",
      "json": "https://banes-lab.com/json/source/quality/core/producers/tool.bandit.producer.ts",
      "label": "core/producers/tool.bandit.producer.ts",
      "markdown": "https://banes-lab.com/source/quality/core/producers/tool.bandit.producer.ts.md",
      "ref": "anatomy:file-quality-core-producers-tool-bandit-producer-ts"
    },
    "previous": {
      "href": "https://banes-lab.com/anatomy/quality#file-quality-core-producers-quality-producer-ts",
      "json": "https://banes-lab.com/json/source/quality/core/producers/quality.producer.ts",
      "label": "core/producers/quality.producer.ts",
      "markdown": "https://banes-lab.com/source/quality/core/producers/quality.producer.ts.md",
      "ref": "anatomy:file-quality-core-producers-quality-producer-ts"
    }
  },
  "up": {
    "href": null,
    "json": "https://banes-lab.com/json/api/source/quality/core/producers",
    "label": "core/producers",
    "markdown": "https://banes-lab.com/api/source/quality/core/producers.md",
    "ref": "api:source/quality/core/producers"
  }
}
