Skip to content

tsconfig-exists

Check that tsconfig.json exists

PropertyValue
Rule IDtypes/tsconfig-exists
Categorytypes
Severity🟡 warning
FixableNo

What it Checks

A tsconfig.json is needed for TypeScript compilation settings. Without it, tspub can't verify your type configuration.

Configuration

Disable this rule:

bash
tspub check --ignore-rules "types/tsconfig-exists"

Or in tspub.config.ts:

typescript
export default {
  check: {
    severityOverrides: {
      "types/tsconfig-exists": "off",  // or "warning", "error", "info"
    },
  },
};

Released under the MIT License.