@hint/hint-typescript-config
Version:
hint that that checks if the TypeScript configuration is valid.
60 lines (44 loc) • 1.88 kB
Markdown
if your TypeScript
configuration has the most recommended configuration.
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.
* [typescript-config/import-helpers][import-helpers]
* [typescript-config/is-valid][is-valid]
* [typescript-config/no-comments][no-comments]
* [typescript-config/strict][strict]
* [typescript-config/target][target]
This package is installed automatically by webhint:
```bash
npm install hint --save-dev
```
To use it, activate it via the [`.hintrc`][hintrc] configuration file:
```json
{
"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.
* [TypeScript Documentation][typescript docs]
<!-- Link labels: -->
[ ]: https://github.com/webhintio/hint/blob/HEAD/packages/hint-typescript-config/docs/import-helpers.md
[ ]: https://github.com/webhintio/hint/blob/HEAD/packages/hint-typescript-config/docs/is-valid.md
[ ]: https://github.com/webhintio/hint/blob/HEAD/packages/hint-typescript-config/docs/no-comments.md
[ ]: https://webhint.io/docs/user-guide/configuring-webhint/summary/
[ ]: https://github.com/webhintio/hint/blob/HEAD/packages/hint-typescript-config/docs/strict.md
[ ]: https://github.com/webhintio/hint/blob/HEAD/packages/hint-typescript-config/docs/target.md
[ ]: https://www.typescriptlang.org/docs/home.html
`typescript-config` contains hints to check