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

chore: update eslint/gulp-eslint to v4 #11036

Merged
merged 2 commits into from
Mar 15, 2018

Conversation

colin-marshall
Copy link
Contributor

I updated my global eslint to v4 and started seeing this error from SublimeLinter:
Unexpected top-level property "ecmaVersion"

Caused by this line:
https://github.com/zurb/foundation-sites/blob/develop/.eslintrc#L2

That setting is already present and in the correct place on this line:
https://github.com/zurb/foundation-sites/blob/develop/.eslintrc#L20

Figured I might as well update eslint/gulp-eslint for foundation-sites while I was at it.

@ncoden
Copy link
Contributor

ncoden commented Mar 14, 2018

I'm testing it.
@colin-marshall Did you checked for breaking changes between v3 and v4 ?

Copy link
Contributor

@ncoden ncoden left a comment

Choose a reason for hiding this comment

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

See https://www.diffchecker.com/SLxCxCEC

So LGTM. There's still a lot of work to do (but I don't think it's a good idea to get into it now), but not more.

@colin-marshall
Copy link
Contributor Author

@ncoden Are you talking about all the warnings and the errors that we need to take care of (Or adjust the lint rules to ignore)?

@ncoden
Copy link
Contributor

ncoden commented Mar 14, 2018

Yes. In theory we should take care of the warning/errors, but right now (at the end of v6) it is too much work for too small benefits.

@ncoden
Copy link
Contributor

ncoden commented Mar 14, 2018

On v7 we should use Prettier with the Github integrations :)

@ncoden ncoden merged commit 0894ea1 into foundation:develop Mar 15, 2018
ncoden pushed a commit to ncoden/foundation-sites that referenced this pull request Jun 16, 2018
…lint-to-v4 for v6.5.0

b6819c3 Removed duplicate/misplaced ecmaVersion setting
356615f Update gulp-eslint to v4

Signed-off-by: Nicolas Coden <nicolas@ncoden.fr>
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