Disallow @ts-<directive> comments or require descriptions after directives.
// code-linter.json5
{
"rules": {
"@typescript-eslint/ban-ts-comment": "error"
}
} // @ts-expect-error
console.log('hello');
/* @ts-expect-error */
console.log('hello'); plugin:@typescript-eslint/all
For details about how to configure Code Linter check rules, see Code Linter.