@hint/hint-typescript-config

hint that that checks if the TypeScript configuration is valid.

Usage no npm install needed!

<script type="module">
  import hintHintTypescriptConfig from 'https://cdn.skypack.dev/@hint/hint-typescript-config';
</script>

README

TypeScript configuration hints set (typescript-config)

typescript-config contains hints to check if your TypeScript configuration has the most recommended configuration.

Why is this important?

If you are building an app or a website using TypeScript, you need to be sure that your configuration is the best for your needs.

Hints

How to use these hints?

This package is installed automatically by webhint:

npm install hint --save-dev

To use it, activate it via the .hintrc configuration file:

{
    "connector": {...},
    "formatters": [...],
    "hints": {
        "typescript-config/is-valid": "error",
        "typescript-config/no-comment": "error",
        "typescript-config/target": "error",
        ...
    },
    "parsers": [...],
    ...
}

Note: The recommended way of running webhint is as a devDependency of your project.

Further Reading