Closed iduuck closed 4 years ago
Temporary fix is to add two lines to your .eslint
configuration:
{
"extends": "@fintory/eslint-config",
"env": {
"browser": true
},
"rules": {
"import/extensions": "off",
"no-use-before-define": "off", <---- THIS
"@typescript-eslint/no-use-before-define": "error" <---- AND THIS
}
}
Reason for this is: https://github.com/typescript-eslint/typescript-eslint/issues/2540
Specific comment for fixing this issue: https://github.com/typescript-eslint/typescript-eslint/issues/2540#issuecomment-692866111