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

Update for ESLint 3.0.0 #939

Closed
wants to merge 3 commits into from
Closed

Update for ESLint 3.0.0 #939

wants to merge 3 commits into from

Conversation

lencioni
Copy link
Contributor

@lencioni lencioni commented Jul 5, 2016

ESLint 3.0.0 was recently released. I don't see any breaking changes
that affect our configuration, so it seems like we can support the
currently supported range in addition to 3.0.0+.

http://eslint.org/blog/2016/07/eslint-v3.0.0-released

I needed to fix a couple of minor things to get tests to pass.

lencioni added 3 commits July 5, 2016 10:07
This rule was added by 1.10.0. I am setting it to be disabled because it
is very project-specific, so it doesn't make sense to enable it here.

https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-restricted-paths.md

I found the sections of this file a little confusing, so I didn't know
where to put it. I think it would be better to simply alphabetize the
rules but I'll leave that for another time.
This rule seems to be giving me errors for some places we have imported
devDependencies in our tests such as tape and eslint. This is actually
okay, so we just need to configure this rule to allow devDependencies
for tests.

While I was at it, I added some whitespace to improve readability and
reduce the likelihood of merge conflicts.
ESLint 3.0.0 was recently released. I don't see any breaking changes
that affect our configuration, so it seems like we can support the
currently supported range in addition to 3.0.0+.

http://eslint.org/blog/2016/07/eslint-v3.0.0-released
@ljharb
Copy link
Collaborator

ljharb commented Jul 5, 2016

❌ this is captured in #936, and has peer dep blockages. In addition, I already have this change prepared locally.

@ljharb ljharb closed this Jul 5, 2016
@ljharb ljharb deleted the eslint-3 branch July 5, 2016 17:29
@lencioni
Copy link
Contributor Author

lencioni commented Jul 5, 2016

Ah rats, I missed that entirely.

Are my first two commits still useful?

@ljharb
Copy link
Collaborator

ljharb commented Jul 5, 2016

I'll definitely grab 2d38704 - the other one I've already got. Thanks!

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