Skip to main content

_internal/jsonc-rule

Remarksโ€‹

Unlike TypeScript-AST rules that use @typescript-eslint/utils, these rules analyze tsconfig*.json files via the jsonc-eslint-parser JSONC AST. This factory injects canonical docs.url, docs.ruleId, and docs.ruleNumber from the rule catalog, and validates the tsconfigConfigs preset membership field.

Typed factory for JSONC-based ESLint rules in eslint-plugin-tsconfig.

Interfacesโ€‹

Type Aliasesโ€‹

Functionsโ€‹