Skip to content

Build: Update jscs and fix some code style issues#1311

Merged
jzaefferer merged 1 commit intojquery:masterfrom
jzaefferer:grunt-jscs-update
Aug 14, 2014
Merged

Build: Update jscs and fix some code style issues#1311
jzaefferer merged 1 commit intojquery:masterfrom
jzaefferer:grunt-jscs-update

Conversation

@jzaefferer
Copy link
Member

Disables the checks for casing and line length, since those need a lot more effort to address. For variable naming the fix isn't obvious to me. There's way too many lines over 100 chars.

Removing the two overrides results in 186 code style errors. Breaking lines above 100 chars is just work, but fixing the variable naming isn't straightforward. For example, what do we do with widget_slice in widget.js?

Let's land this as-is and fix the rest later, it'll help in other branches as well.

@tjvantoll
Copy link
Member

Looks good. We might want to create a ticket to address "requireCamelCaseOrUpperCaseIdentifiers".

@mikesherov
Copy link
Member

👍

Disables the checks for casing and line length, since those need a lot
more effort to address. For variable naming the fix isn't obvious to me.
There's way too many lines over 100 chars.
@jzaefferer jzaefferer merged commit 54004c8 into jquery:master Aug 14, 2014
@jzaefferer
Copy link
Member Author

Landed this and created a follow-up ticket: http://bugs.jqueryui.com/ticket/10545

@jzaefferer jzaefferer deleted the grunt-jscs-update branch March 6, 2015 16:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants