Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Upgrade to import plugin v2#1101

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
ljharb merged 1 commit intoairbnb:masterfromSimenB:import-v2
Oct 13, 2016
Merged

Upgrade to import plugin v2#1101

ljharb merged 1 commit intoairbnb:masterfromSimenB:import-v2
Oct 13, 2016

Conversation

@SimenB
Copy link
Contributor

@SimenBSimenB commentedOct 2, 2016
edited
Loading

Breaking changes seems to just involve changing defaults, which is already defined in this project, so no difference.
Still a breaking change for this module because of the changed peer I suppose, but rules wise, it's not.

JaKXz, pauloflamyob, and christophehurpeau reacted with thumbs up emojiArcanemagus reacted with heart emoji
Copy link
Collaborator

@ljharbljharb left a comment

Choose a reason for hiding this comment

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

The changelog lists some added options as well; we'd want to add those to the relevant rules.

In addition, the imports-first rule should be renamed.

@SimenB
Copy link
ContributorAuthor

@ljharb updated 😄

I only saw one added option (caseSensitive), am I missing something?
Or do you want to copy the new default options?

Copy link
Collaborator

@ljharbljharb left a comment

Choose a reason for hiding this comment

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

LGTM pending this one change

// https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/imports-first.md
'import/imports-first':['error','absolute-first'],
// https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/first.md
'import/first':['error','absolute-first'],
Copy link
Collaborator

Choose a reason for hiding this comment

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

Let's also keep a line that disablesimport/imports-first, in case anyone is overriding it.

Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

Added (I think 😄 )

Copy link
Collaborator

@ljharbljharb left a comment

Choose a reason for hiding this comment

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

LGTM! Because this is a breaking change, I'm going to hold off merging this for the time being.

@SimenB
Copy link
ContributorAuthor

There was a conflict, rebased now.

I think at least the new webpack rule should be activated. Do you want that as a separate PR, or included in this?

@ljharb
Copy link
Collaborator

That would also be a breaking change, and should be done in a separate PR/commit after this one is merged.

@Arcanemagus
Copy link

Is there a timeline on when support for this version will be released? I've had to revert 3 PR's updating to this that got carelessly merged already.

archcorsair, christophehurpeau, JaKXz, and joncursi reacted with thumbs up emoji

@SimenB
Copy link
ContributorAuthor

I rebased and updated to 2.0.1, at least

Arcanemagus and ljharb reacted with heart emoji

@ljharb
Copy link
Collaborator

@Arcanemagus no timeline yet. I'd recommend your tests runnpm ls if you find bad updates to be a problem.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@ljharbljharbljharb approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@SimenB@ljharb@Arcanemagus

[8]ページ先頭

©2009-2025 Movatter.jp