Opened 4 years ago

Last modified 3 years ago

#10545 open feature

JSCS: Enable requireCamelCaseOrUpperCaseIdentifiers rule

Reported by: Jörn Zaefferer 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.

Change History (2)

comment:1 Changed 4 years ago by Jörn Zaefferer

Status: newopen

comment:2 Changed 3 years ago by Scott González

Keywords: help-wanted added
Note: See TracTickets for help on using tickets.