Disallow certain triple slash directives in favor of ES6-style import declarations.
This rule reports errors on the use of the following triple slash directives:
/// <reference lib="..." /> /// <reference path="..." /> /// <reference types="..." />
// code-linter.json5
{
"rules": {
"@typescript-eslint/triple-slash-reference": "error"
}
} plugin:@typescript-eslint/all
For details about how to configure Code Linter check rules, see Code Linter.