Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

connection: change style of a forward declaration #96

Closed
wants to merge 1 commit into from

Conversation

aqrln
Copy link
Member

@aqrln aqrln commented Mar 3, 2017

ESLint complains that a variable is never reassigned if it is declared
like this:

let variable;
...
variable = value;

Because of this, we had a forward declaration in connection.js marked
with a directive for ESLint to ignore the line. This commit changes it
to assignment to null.

ESLint complains that a variable is never reassigned if it is declared
like this:

    let variable;
    ...
    variable = value;

Because of this, we had a forward declaration in `connection.js` marked
with a directive for ESLint to ignore the line. This commit changes it
to assignment to null.
@aqrln aqrln requested a review from belochub March 3, 2017 04:27
Copy link
Member

@belochub belochub left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@aqrln
Copy link
Member Author

aqrln commented Mar 3, 2017

Landed in f6f0aba.

@aqrln aqrln closed this Mar 3, 2017
aqrln added a commit that referenced this pull request Mar 3, 2017
ESLint complains that a variable is never reassigned if it is declared
like this:

    let variable;
    ...
    variable = value;

Because of this, we had a forward declaration in `connection.js` marked
with a directive for ESLint to ignore the line. This commit changes it
to assignment to null.

PR-URL: #96
@aqrln aqrln deleted the eslint-forward-declaration branch March 3, 2017 04:30
aqrln added a commit that referenced this pull request Mar 13, 2017
ESLint complains that a variable is never reassigned if it is declared
like this:

    let variable;
    ...
    variable = value;

Because of this, we had a forward declaration in `connection.js` marked
with a directive for ESLint to ignore the line. This commit changes it
to assignment to null.

PR-URL: #96
@aqrln aqrln mentioned this pull request Mar 13, 2017
aqrln added a commit that referenced this pull request Mar 13, 2017
ESLint complains that a variable is never reassigned if it is declared
like this:

    let variable;
    ...
    variable = value;

Because of this, we had a forward declaration in `connection.js` marked
with a directive for ESLint to ignore the line. This commit changes it
to assignment to null.

PR-URL: #96
belochub pushed a commit that referenced this pull request Jan 22, 2018
ESLint complains that a variable is never reassigned if it is declared
like this:

    let variable;
    ...
    variable = value;

Because of this, we had a forward declaration in `connection.js` marked
with a directive for ESLint to ignore the line. This commit changes it
to assignment to null.

PR-URL: #96
belochub pushed a commit that referenced this pull request Jan 22, 2018
ESLint complains that a variable is never reassigned if it is declared
like this:

    let variable;
    ...
    variable = value;

Because of this, we had a forward declaration in `connection.js` marked
with a directive for ESLint to ignore the line. This commit changes it
to assignment to null.

PR-URL: #96
@belochub belochub mentioned this pull request Jan 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants