Search and Top Navigation
#10545 open feature ()
Opened August 14, 2014 12:16PM UTC
Last modified October 14, 2015 01:25PM UTC
JSCS: Enable requireCamelCaseOrUpperCaseIdentifiers rule
Reported by: | jzaefferer | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | none |
Component: | [meta] ui.dev | Version: | 1.11.1 |
Keywords: | help-wanted | Cc: | |
Blocked by: | Blocking: |
Description
I've updated grunt-jscs to the latest version in https://github.com/jquery/jquery-ui/pull/1311
This fixed a few issues that the new version highlighted, but also disabled the line length and requireCamelCaseOrUpperCaseIdentifiers rules. The latter is problematic, since I don't know what we want to do with variable names like "widget_uuid", "widget_slice" or "spinner_modifier".
As for the line length restriction, that should be just a matter of going through all lines that are over 100 chars and breaking them into multiple lines.