Disallow TypeScript namespaces.
Namespace is an outdated syntax. You are advised to use import/export.
This rule applies only to .js and .ts files.
// foo is a module name.
declare module 'foo' {}
// anything inside a d.ts file module foo {}
namespace foo {}
declare module foo {}
declare namespace foo {} plugin:@typescript-eslint/all
For details about how to configure Code Linter check rules, see Code Linter.