absolvent / gore-gulp

Simple way to run and maintain React.js projects without any configuration.
MIT License
1 stars 0 forks source link

Disable no-use-before-define eslint flag #20

Closed kl3ryk closed 9 years ago

kl3ryk commented 9 years ago

'no-use-before-define' causes problems in the following situation. They cannot be overcome sometimes without serious code refactoring:

function foo() {
    if (!costam()) {
        bar();
    } else {
        // ...
    }
}

function bar() {
    if (costam()) {
        foo();
    } else {
        // ...
    }
}