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

Switch declaration keyword from const to import #251

Merged
merged 1 commit into from
May 1, 2016
Merged

Switch declaration keyword from const to import #251

merged 1 commit into from
May 1, 2016

Conversation

lencioni
Copy link
Collaborator

@lencioni lencioni commented May 1, 2016

I used the rewrite feature for this conversion. It missed some in
lib/importjs.js because we had some code above the imports block so I
converted those manually.

I used the rewrite feature for this conversion. It missed some in
lib/importjs.js because we had some code above the imports block so I
converted those manually.
@@ -1,7 +1,7 @@
[
{
"environments": ["node"],
"declaration_keyword": "const",
"declaration_keyword": "import",
Copy link
Collaborator

Choose a reason for hiding this comment

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

you can just remove it since it's the default

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I considered that, but I didn't because we have talked about defaulting to const for node env. #235

@trotzig
Copy link
Collaborator

trotzig commented May 1, 2016

Yeah!

@trotzig trotzig merged commit 4193da3 into master May 1, 2016
@lencioni lencioni deleted the imports branch May 1, 2016 20:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants