@hint/hint-typescript-config
v2.5.16
Published
hint that that checks if the TypeScript configuration is valid.
Downloads
76,841
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
- typescript-config/import-helpers
- typescript-config/is-valid
- typescript-config/no-comments
- typescript-config/strict
- typescript-config/target
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.