$ npm install @hint/hint-typescript-config
typescript-config
)typescript-config
contains hints to check 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.
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.
© 2010 - cnpmjs.org x YWFE | Home | YWFE