Require using the namespace keyword over the module keyword to declare custom TypeScript modules.
This rule applies only to .js and .ts files.
// code-linter.json5
{
"rules": {
"@typescript-eslint/prefer-namespace-keyword": "error"
}
} plugin:@typescript-eslint/all
For details about how to configure Code Linter check rules, see Code Linter.