[no-namespace] Allow namespaces in module and the global namespace augmentation #2237
Labels
enhancement: plugin rule option
New rule option for an existing eslint-plugin rule
package: eslint-plugin
Issues related to @typescript-eslint/eslint-plugin
Repro
Expected Result
No error because the namespaces are being declared in a module augmentation or in the global namespace.
declare namespace
can't be used because it's already in an ambient context.Actual Result
Additional Info
Versions
@typescript-eslint/eslint-plugin
3.3.0
@typescript-eslint/parser
3.3.0
TypeScript
3.9.5
ESLint
7.3.0
node
12.18.0
npm
6.14.5
The text was updated successfully, but these errors were encountered: