[no-namespace] Adding 'export' yields false positive when allowDeclarations=true #4843
Closed
3 tasks done
Labels
accepting prs
Go ahead, send a pull request that resolves this issue
bug
Something isn't working
good first issue
Good for newcomers
package: eslint-plugin
Issues related to @typescript-eslint/eslint-plugin
Repro
This doesn't produce any warnings if
allowDeclarations
is trueThis DOES produce a warning if
allowDeclarations
is trueExpected Result
If
allowDeclarations
is true, then neither should error.Actual Result
Including
export
causes the rule to complain.Additional Info
Versions
@typescript-eslint/eslint-plugin
5.17.0
@typescript-eslint/parser
5.17.0
TypeScript
4.6.3
ESLint
8.12.0
node
17.5.0
The text was updated successfully, but these errors were encountered: