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

Extend ESLint to cover all JS files and drop JSCS. #21480

Merged
merged 2 commits into from
Dec 31, 2016
Merged

Extend ESLint to cover all JS files and drop JSCS. #21480

merged 2 commits into from
Dec 31, 2016

Conversation

bardiharborow
Copy link
Member

@bardiharborow bardiharborow commented Dec 31, 2016

Fixes #17924 and fixes #20740. We have two ESLint configurations, js/.eslintrc.json (ES6, used for js/src/), and js/tests/.eslintrc.json (ES5, used for js/tests/, grunt/, docs/assets/js/src, docs/assets/js/ie-emulation-modes-warning.js and docs/assets/js/ie10-viewport-bug-workaround.js). As with my other linting changes, we may wish to tighten this later.

@bardiharborow bardiharborow added this to the v4.0.0-alpha.6 milestone Dec 31, 2016
@bardiharborow bardiharborow merged commit 869dc64 into twbs:v4-dev Dec 31, 2016
@bardiharborow bardiharborow deleted the drop-jscs branch December 31, 2016 05:49
@mdo mdo mentioned this pull request Dec 31, 2016
@bardiharborow bardiharborow mentioned this pull request Jan 1, 2017
@hnrch02
Copy link
Collaborator

hnrch02 commented Jan 1, 2017

IIRC, @cvrebert had reservations about removing semicolons in the build JS. I welcome the change though, better to keep it consistent.

@bardiharborow
Copy link
Member Author

I was wondering about that, but at the time I was tired of wrestling with the various ESLint configs and it seemed the easiest way out. Given that we're looking at dropping the Gruntfile anyway as soon as I can get the npm scripts working correctly, I'm not going to worry too much. Do holler if I'm missing something here.

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