[no-use-before-define] Add option to ignore interfaces #1262
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, since interfaces are hoisted.
Actual Result
'B' was used before it was defined. eslint(@typescript-eslint/no-use-before-define)
Versions
@typescript-eslint/eslint-plugin
2.6.1
@typescript-eslint/parser
2.6.1
TypeScript
3.7.2
ESLint
6.6.0
node
13.2.0
npm
6.12.1
The text was updated successfully, but these errors were encountered: